Jump to content

Tokenize a string: Difference between revisions

Add lang example
(added Zig)
(Add lang example)
Line 2,177:
{S.replace , by . in Hello,How,Are,You,Today}.
-> Hello.How.Are.You.Today.
</syntaxhighlight>
 
=={{header|Lang}}==
<syntaxhighlight lang="lang">
$str = Hello,How,Are,You,Today
fn.println(fn.join(\., fn.split($str, \,)))
</syntaxhighlight>
 
168

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.