Splitting a string

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Guest

Splitting a string

Post 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.
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

LEFT$()
RIGHT$()
LEN()
INSTR()
I have left this dump.
Guest

Post by Guest »

Okay, thanks. I did it.
Post Reply