Split a character string based on change of character: Difference between revisions
Split a character string based on change of character (view source)
Revision as of 16:34, 20 May 2023
, 11 months agoadd RPL
No edit summary |
(add RPL) |
||
Line 2,408:
g, HHH, 5, YY, ++, ///, \
</pre>
≪ → text
≪ "" text 1 1 SUB
1 text SIZE '''FOR''' j
text j DUP SUB
'''IF''' DUP2 ≠ '''THEN''' SWAP DROP ", " OVER + '''END'''
ROT SWAP + SWAP
'''NEXT '''DROP
≫ ≫ ‘<span style="color:blue">COMASPLT</span>’ STO
=={{header|Ruby}}==
|