RosettaCodeData/Task/String-append/Nim/string-append.nim

4 lines
68 B
Nim
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
var str = "123456"
str.add("78") # two ways
str &= "9!" # to append