Tokenize a string: Difference between revisions
Content added Content deleted
m (Moved to Text cat) |
|||
Line 1: | Line 1: | ||
{{task}} |
{{task|Text processing}} |
||
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. To simplify, you may display a trailing period. |
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. To simplify, you may display a trailing period. |
||