Tokenize a string: Difference between revisions

Content added Content deleted
m (→‎{{header|Picat}}: code tags)
Line 2,812: Line 2,812:


=={{header|Picat}}==
=={{header|Picat}}==
Using the built-in functions split/2 and join/2.
Using the built-in functions <code>split/2</code> and <code>join/2</code>.
<lang Picat>import util.
<lang Picat>import util.

% using built-in split/2 and join/2
go =>
go =>
S = "Hello,How,Are,You,Today",
S = "Hello,How,Are,You,Today",
Line 2,828: Line 2,828:
Hello.How.Are.You.Today
Hello.How.Are.You.Today
Hello.How.Are.You.Today</pre>
Hello.How.Are.You.Today</pre>



=={{header|PicoLisp}}==
=={{header|PicoLisp}}==