How to concatenate strings in Nim

You can concatenate (combine) two strings in Nim with the & operator:

let s = "Bob" & "Susan"
echo s

Running this yields:

BobSusan

Comments

Leave a comment

What color are green eyes? (spam prevention)
Submit
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.