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

7 lines
170 B
Text
Raw Permalink Normal View History

2023-07-18 13:51:12 -07:00
text greeting = "world"
^|basic concatenation|^
writeLine("hello " + greeting)
^|changing the text in place|^
writeLine(greeting.insert(0, "hello "))
writeLine(greeting)