Tokenize a string: Difference between revisions

Content deleted Content added
Underscore (talk | contribs)
Perl 5: Stripped down to the essentials. Perl 6: Added.
Line 821:
 
=={{header|Ruby}}==
<lang ruby> string =puts "Hello,How,Are,You,Today".split(',').join('.')</lang>
string.each do |w|
print "#{w}."
end
 
puts "Hello,How,Are,You,Today".split(',').join('.')</lang>
 
=={{header|Seed7}}==