RosettaCodeData/Task/String-append/Nim/string-append.nim
2016-12-05 23:44:36 +01:00

3 lines
68 B
Nim

var str = "123456"
str.add("78") # two ways
str &= "9!" # to append