Tokenize a string: Difference between revisions

Content added Content deleted
(jq)
mNo edit summary
Line 1,623:
say 'End-of-list.'</lang>
'''output''' is identical to Version 1.
 
===version 3===
<lang rexx>
text='Hello,How,Are,You,Today'
do while text \= ''
parse var text word1 ',' text
call charout 'STDOUT:',word1'.'
end
</lang>
 
Output:
Hello.How.Are.You.Today.
 
=={{header|Ruby}}==