Tokenize a string: Difference between revisions
Content deleted Content added
Add zsh |
|||
Line 912: | Line 912: | ||
<lang python>print '.'.join('Hello,How,Are,You,Today'.split(','))</lang> |
<lang python>print '.'.join('Hello,How,Are,You,Today'.split(','))</lang> |
||
<lang python>i = split("Hello,How,Are,You,Today") |
|||
for a in i: |
|||
print i+"." |
|||
</lang> |
|||
=={{header|R}}== |
=={{header|R}}== |