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

7 lines
143 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
^|EMal has mutable strings;
|the append method changes the value in-place.
|^
text hello = "Hello, "
hello.append("world!")
writeLine(hello)