Thread: tokens
View Single Post
  #2  
Old 01-28-2004, 04:00 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Re: tokens

Quote:
Originally posted by ZeLpH_MyStiK
Is there anyway to tokenize a string w/o it breaking it up by spaces, and only by commas.
IE the string: This is an example,test test test,hi
would be broken up into:
This is an example
test test test
hi
I'm just wondering if there is a command for it, if not I guess i'll do it the hard way since wraptext2 width,font size,delimiter,text; doesnt seem to be working (delimiter portion of it).
sarraylen(string)
#I(string,index)


Sample:

for (i=0;i<sarraylen(string);i++) {
showtext blablabla,blabla,blabla,blalb,alb,alb,#I(string,i) ;
}
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote