Split a character string based on change of character: Difference between revisions

add 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}}==
1,150

edits