Tokenize a string: Difference between revisions

m
→‎version 3: flagged as incorrect and needs improvement.
m (→‎{{header|PL/I}}: add output)
m (→‎version 3: flagged as incorrect and needs improvement.)
Line 1,627:
 
===version 3===
 
{{incorrect|REXX|<br>The program isn't consistent with the task's requirement (separate the string into an array (or list).<br>}}
 
{{improve|REXX| use of <br> '''STDOUT:''' <br> isn't supported by some operating systems, <br>it would be better to use '''say''' or some other mechanism so that the parsing can be seen as something other than the original list with commas replaced by periods. <br>}}
 
<lang rexx>text='Hello,How,Are,You,Today'
do while text \= ''