String prepend: Difference between revisions
Content added Content deleted
(add RPL) |
|||
Line 1,570: | Line 1,570: | ||
see bString + nl |
see bString + nl |
||
</syntaxhighlight> |
</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}}== |
=={{header|Ruby}}== |