nim-stew/stew/shims/strings.nim

4 lines
85 B
Nim
Raw Permalink Normal View History

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