22 lines
524 B
Plaintext
22 lines
524 B
Plaintext
;Task:
|
|
Split a (character) string into comma (plus a blank) delimited
|
|
strings based on a change of character (left to right).
|
|
|
|
Show the output here (use the 1<sup>st</sup> example below).
|
|
|
|
|
|
Blanks should be treated as any other character (except
|
|
they are problematic to display clearly). The same applies
|
|
to commas.
|
|
|
|
|
|
For instance, the string:
|
|
<big><big> gHHH5YY++///\ </big></big>
|
|
should be split and show:
|
|
<big><big> g, HHH, 5, YY, ++, ///, \ </big></big>
|
|
|
|
|
|
{{Template:Strings}}
|
|
<br><br>
|
|
|