Parse text

BlitzMax Forums/BlitzMax Beginners Area/Parse text

anyone know of commands or some code for parsing strings?

Theres a 'strings' section in the doc under Language.

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


Holy crap dude. I'm really impressed with how powerful this language is. Wish the docs where better.

this might help.