Tokenize a string: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
(PascalABC.NET})
 
Line 2,953: Line 2,953:
Tokenize from: "Hello,How,Are,You,Today"
Tokenize from: "Hello,How,Are,You,Today"
to: "Hello.How.Are.You.Today"
to: "Hello.How.Are.You.Today"

=={{header|PascalABC.NET}}==
<syntaxhighlight lang="delphi">
begin
var s := 'Hello,How,Are,You,Today';
var strings := s.Split(',');
Print(strings.JoinToString('.'));
end.
</syntaxhighlight>


=={{header|Perl}}==
=={{header|Perl}}==