Tokenize a string: Difference between revisions

Content added Content deleted
(Add vlang, V)
(Tokenize a string en BASIC256)
Line 982: Line 982:
Hello.How.Are.You.Today
Hello.How.Are.You.Today
Hello.How.Are.You.Today</pre>
Hello.How.Are.You.Today</pre>

==={{header|BASIC256}}===
<lang BASIC256>instring$ = "Hello,How,Are,You,Today"

tokens$ = explode(instring$,",")
for i = 0 to tokens$[?]-1
print tokens$[i]; ".";
next i
end</lang>



==={{header|BBC BASIC}}===
==={{header|BBC BASIC}}===