Nathan de Vries wrote:
On 27/09/2007, at 5:45 PM, John Elliot wrote:null-embedded stringWhat's a null-embedded string?
It's a fixed-length string with a null character in it.This syntax [1] works in WScript for this [2] output. Note: either cscript.exe or cmd.exe converted the null character to a space for display.
This turned up on reddit yesterday [3]... [1] var test = "1\u00002\u00003"; print( test.length ); print( test ); print( /^1\x002\x003$/g.test( test ) ); [2] 5 1 2 3 True [3] http://insecure.org/news/P55-07.txt - You are subscribed to the progsoc mailing list. To unsubscribe, send a message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.