RosettaCodeData/Task/Multisplit/Run-BASIC/multisplit.run
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

9 lines
196 B
Text

str$ = "a!===b=!=c"
sep$ = "=== != =! b =!="
while word$(sep$,i+1," ") <> ""
i = i + 1
theSep$ = word$(sep$,i," ")
split$ = word$(str$,1,theSep$)
print i;" ";split$;" Sep By: ";theSep$
wend