nim-stew/stew/shims/strings.nim

5 lines
86 B
Nim

proc add*(str: var string, chars: openArray[char]) =
for c in chars:
str.add c