Tokenize a string: Difference between revisions
Content deleted Content added
added MiniScript example |
|||
Line 1,656: | Line 1,656: | ||
{{works with|min|0.19.3}} |
{{works with|min|0.19.3}} |
||
<lang min>"Hello,How,Are,You,Today" "," split "." join print</lang> |
<lang min>"Hello,How,Are,You,Today" "," split "." join print</lang> |
||
=={{header|MiniScript}}== |
|||
<lang MiniScript> |
|||
tokens = "Hello,How,Are,You,Today".split(",") |
|||
print tokens.join(".") |
|||
</lang> |
|||
=={{header|MMIX}}== |
=={{header|MMIX}}== |