RosettaCodeData/Task/Copy-a-string/Nim/copy-a-string.nim

4 lines
64 B
Nim

var
c = "This is a string"
d = c # Copy c into a new string