Parse text

BlitzMax Forums/BlitzMax Beginners Area/Parse text

Craig H. Nisbet(Posted 2007) [#1]
anyone know of commands or some code for parsing strings?


tonyg(Posted 2007) [#2]
Theres a 'strings' section in the doc under Language.


Craig H. Nisbet(Posted 2007) [#3]
Local myInString:String = "Craig is a butt"
Local mySplit:String[] = myInString.split(" ")
Print mySplit[0]
Print mySplit[1]
Print mySplit[2]
Print mySplit[3]



Craig H. Nisbet(Posted 2007) [#4]
Holy crap dude. I'm really impressed with how powerful this language is. Wish the docs where better.


tonyg(Posted 2007) [#5]
this might help.