Anonymous user
Tokenize a string: Difference between revisions
→{{header|BaCon}}
Line 760:
==={{header|BaCon}}===
BaCon includes extensive support for ''delimited strings''.
' Tokenize a string into an array
▲DATA "Hello,How,Are,You,Today"
' Replace the delimiter
▲SPLIT csv$ BY "," TO elements$ SIZE n
PRINT DELIM$(string$, ",", ".")</lang>
{{out}}
|