Word$() Command?
Posted: Tue Apr 22, 2008 2:37 pm
I've been writing a program in another BASIC language, but have decided to switch to PureBasic. In the other language, there is a "word$()" command. I use it to extract specified text from a string.
Ex:
This would give me the text that comes after "=" in the string. My question is, what is the equivalent of this command in PureBasic? I've looked through the help file, but with no luck. I'm not sure what it would be called in PureBasic.
Thanks, in advance, for your help!
Ex:
Code: Select all
string$ = "width=640"
n$ = Trim$(Word$(string$, 2, "="))
Thanks, in advance, for your help!