how - split an string by character?

Just starting out? Need help? Post your questions and find answers here.
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

how - split an string by character?

Post 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?
my english is horribel i know - SORRY i am dyslexic - i uses pb 3.94
DeeCee
User
User
Posts: 34
Joined: Wed Dec 31, 2003 11:14 pm

Post by DeeCee »

Hi,
Have a look in the string section of the help file for: StringField()

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

-DeeCee-
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

Post by doodlemunch »

omg i just did never think about the word FIELD !!
thx

i was writtin my own function :shock: :shock:
my english is horribel i know - SORRY i am dyslexic - i uses pb 3.94
netfriends
User
User
Posts: 36
Joined: Wed Jan 18, 2006 8:25 am
Contact:

Post by netfriends »

Hi,
The same post & the answer
viewtopic.php?t=19264&highlight=
┏┓ CT+pro Studio - www_ct-pro_com
█┛ From China
┏█ MSN:ct1676@hotmail.com
┗┛ I have felt the pure power already.
|-.-|`o`|`_`|o_o|:_:|'_'|^.^|-_-!|
Post Reply