Tokenize a string: Difference between revisions
Content added Content deleted
(Add lang example) |
No edit summary |
||
Line 1,695: | Line 1,695: | ||
IO.puts Enum.join(tokens, ".") |
IO.puts Enum.join(tokens, ".") |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|EMal}}== |
|||
<syntaxhighlight lang="emal"> |
|||
text value = "Hello,How,Are,You,Today" |
|||
List tokens = value.split(",") |
|||
writeLine(tokens.join(".")) |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
Hello.How.Are.You.Today |
|||
</pre> |
|||
=={{header|Erlang}}== |
=={{header|Erlang}}== |