Tokenize a string: Difference between revisions

Content added Content deleted
(→‎BQN: cleanup)
Line 1,684: Line 1,684:
s$ = "Hello,How,Are,You,Today"
s$ = "Hello,How,Are,You,Today"
a$[] = strsplit s$ ","
a$[] = strsplit s$ ","
print a$[]
for s$ in a$[]
write s$ & "."
.
</syntaxhighlight>
</syntaxhighlight>