String append: Difference between revisions

Content added Content deleted
(add RPL)
Line 1,579: Line 1,579:
end
end
</syntaxhighlight>
</syntaxhighlight>

=={{header|RPL}}==
In HP-48+ RPL versions, the <code>STO+</code> instruction can append a string to any end of 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>' "ghi" STO+
<span style="color:green">Z</span>
'''Output'''
<span style="color:grey"> 1:</span> "abcdefghi"


=={{header|Ruby}}==
=={{header|Ruby}}==