RosettaCodeData/Task/String-append/EMal/string-append.emal
2023-07-01 13:44:08 -04:00

6 lines
143 B
Text

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