String prepend: Difference between revisions

add RPL
(add RPL)
Line 1,570:
see bString + nl
</syntaxhighlight>
 
=={{header|RPL}}==
In HP-48+ RPL versions, the <code>STO+</code> instruction can either append or prepend a string to a variable containing already a string.
"def" '<span style="color:green">Z</span>' STO
"abc" '<span style="color:green">Z</span>' STO+
<span style="color:green">Z</span>
'''Output'''
<span style="color:grey"> 1:</span> "abcdef"
 
=={{header|Ruby}}==
1,150

edits