Page 1 of 1

how - split an string by character?

Posted: Thu Feb 16, 2006 1:23 pm
by doodlemunch
hi!
i was wonderin how if someone already made a function for splittin a string into an array given the split string

like

string$ = "hello,im,goin,to,get,split"

and you call splitstring(string$,",")

and then u get the chunkies of it in a array or sumthing?

Posted: Thu Feb 16, 2006 1:34 pm
by DeeCee
Hi,
Have a look in the string section of the help file for: StringField()

...everything you need, including an example. :wink:

-DeeCee-

Posted: Thu Feb 16, 2006 1:51 pm
by doodlemunch
omg i just did never think about the word FIELD !!
thx

i was writtin my own function :shock: :shock:

Posted: Sat Feb 18, 2006 9:03 am
by netfriends
Hi,
The same post & the answer
viewtopic.php?t=19264&highlight=