RosettaCodeData/Task/String-append/EMal/string-append.emal

7 lines
143 B
Plaintext

^|EMal has mutable strings;
|the append method changes the value in-place.
|^
text hello = "Hello, "
hello.append("world!")
writeLine(hello)