String Tokenizer vs. Parser confusion
I'm puzzled why do I get a different result when parsing the 5th element with this source string and delimiter, depending on whether I use the String Tokenizer or String Parser object...
http://www.mjkgames.com/tokenizerissue.png
Source mfa
My logic says that the String Parser gives the correct result here.
I would prefer using String Tokenizer, because it's faster in flash under fastloops. But is this a bug with the object or just me not knowing how to use it properly? :)
Build 251
Re: String Tokenizer vs. Parser confusion
It quite clearly states that the string tokenizer:
"Can split a string up based on single character delimiters".
I'm sure you can find a work-around quite easily if you try (like using two different delimiters).
Re: String Tokenizer vs. Parser confusion
Ah, ok. I have missed that single character limitation. Thanks for pointing out.