Tokenize a string: Difference between revisions

Line 936:
{{works with|Python|2.5}}
 
<lang python>text = "'.'.join('Hello,How,Are,You,Today"'.split(','))</lang>
tokens = text.split(',')
print '.'.join(tokens)</lang>
 
=={{header|R}}==
Anonymous user