String append: Difference between revisions

Content added Content deleted
Line 293: Line 293:


=={{header|LiveCode}}==
=={{header|LiveCode}}==
Livecode has an "after" keyword for this
Livecode has two main ways, appending by use of "&" or "&&" if a space is required and using the "merge" function (interpolation).
<lang LiveCode> local str="live"
<lang LiveCode>local str="live"
put live & "code"
put "code" after str</lang>
Output is "livecode"
put merge("[[str]]code")</lang>
Output for both is "livecode"


=={{header|Mathematica}}==
=={{header|Mathematica}}==