View Single Post
  #3  
Old 01-13-2006, 09:16 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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?
Reply With Quote