Quote:
|
Originally Posted by ApothiX
If this ever is implemented it should be strictly an option, or a separate function alltogether.
|
No kidding!! that's why I say the best way to currently do it would probably be
obj.tokenize(delims,returneddelims);
(overloaded of course)
although, if making it similar to Java it would return all delims.
tokenize(delims,true);
I think making a "which delims are returned" string would probably be more functional. Most programming languages have this functionality, why shouldn't gscript?