3 ms·
Well I dunno how they could possibly be null terminated if you can stick a null in any old string: >> "hello\0world".length => 11
by charliesome 15y ago
Well I dunno how they could possibly be null terminated if you can stick a null in any old string:
>> "hello\0world".length
=> 11
- zokier 15y agoThat could be explained with ruby doing escaping of null characters automatically in the background, although I don't believe that to be the case.