You can concatenate (combine) two strings in Nim with the & operator:
let s = "Bob" & "Susan" echo s
Running this yields:
BobSusan
let s = "Bob " & "and" & " Susan" echo s
Leave a comment