String append: Difference between revisions
no edit summary
(K) |
No edit summary |
||
Line 721:
(buffer-string)))
;; => "foobar"</syntaxhighlight>
=={{header|EMal}}==
<syntaxhighlight lang="emal">
^|EMal has mutable strings;
|the append methods changes the value in-place.
|^
text hello = "Hello, "
hello.append("world!")
writeLine(hello)
</syntaxhighlight>
{{out}}
<pre>
Hello, world!
</pre>
=={{header|Erlang}}==
|