Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Convert string to array?

Author
Message
KraXarN
3
Years of Service
User Offline
Joined: 21st Apr 2016
Location: Sweden
Posted: 5th May 2016 16:06
Hello!

I wanted to convert a string to an array much like PHP's explode() function. Basically I want to convert something like
string$ = "one,two,three" to
array[0] = "one" array[1] = "two" etc.

Thanks for any help!
BatVink
Moderator
16
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th May 2016 16:50
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
KraXarN
3
Years of Service
User Offline
Joined: 21st Apr 2016
Location: Sweden
Posted: 7th May 2016 17:49
After some messing around it works just fine! Thanks

Login to post a reply

Server time is: 2019-11-17 15:57:04
Your offset time is: 2019-11-17 15:57:04