For some odd reason, I managed to find a way to make NBSP two-characters long.
The original string was (With 'start' and 'end' appended for display purposes):
Okay, not a problem... obviously, it's thinking of as 5 characters; substr from 5 (remember, start isnt actually there), and you get the number, right? No.... you lose 5TS.Code:start 5TS50568A30099246end
Well, then it must be thinking of the Non-Breaking-Space character as one, ASCII, character. so substr starting at 1. Nope... get a question mark in front of the string.
Try 2, since i lost 3 characters with 5 - works fine.
Is this a case of some odd substr indexing? Or did i really end up with a 2-character-long NBSP?








Bookmarks