Page 1 of 1

Splitting a string

Posted: Mon Apr 18, 2005 8:24 pm
by Guest
Is there a simple QBasic equivalent to PHP's explode or Python's split?
Saying I have a string like this, "Joe~Smoe", I want to obtain Joe and Smoe separately without the ~.

Thanks in advance.

Posted: Mon Apr 18, 2005 9:03 pm
by Z!re
LEFT$()
RIGHT$()
LEN()
INSTR()

Posted: Mon Apr 18, 2005 9:28 pm
by Guest
Okay, thanks. I did it.