Tokenize a string: Difference between revisions
Content added Content deleted
m (added whitespace.) |
|||
Line 1: | Line 1: | ||
{{task|String manipulation}} |
{{task|String manipulation}} |
||
[[Category:Simple]] |
[[Category:Simple]] |
||
Separate the string "Hello,How,Are,You,Today" by commas into an array (or list) so that each element of it stores a different word. |
Separate the string "Hello,How,Are,You,Today" by commas into an array (or list) so that each element of it stores a different word. |
||
Display the words to the 'user', in the simplest manner possible, |
|||
separated by a period. |
Display the words to the 'user', in the simplest manner possible, separated by a period. |
||
To simplify, you may display a trailing period. |
To simplify, you may display a trailing period. |
||
{{Template:Strings}} |
{{Template:Strings}} |