Tokenize a string: Difference between revisions
Content added Content deleted
(→dt: add) |
|||
Line 1,660: | Line 1,660: | ||
Today |
Today |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|dt}}== |
|||
<syntaxhighlight lang="dt">"Hello,How,Are,You,Today" "," split "." join pl</syntaxhighlight> |
|||
=={{header|Dyalect}}== |
=={{header|Dyalect}}== |
||
<syntaxhighlight lang="dyalect">var str = "Hello,How,Are,You,Today" |
<syntaxhighlight lang="dyalect">var str = "Hello,How,Are,You,Today" |
||
var strings = str.Split(',') |
var strings = str.Split(',') |
||
print(values: strings, separator: ".")</syntaxhighlight> |
print(values: strings, separator: ".")</syntaxhighlight> |
||
{{out}} |
{{out}} |
||
<pre>Hello.How.Are.You.Today</pre> |
<pre>Hello.How.Are.You.Today</pre> |
||