mirror of
https://github.com/status-im/nim-stew.git
synced 2025-01-24 10:59:13 +00:00
Add string.add(openarray[char]) (to be optimized later)
This commit is contained in:
parent
4c695e5933
commit
1db43c7234
4
stew/shims/strings.nim
Normal file
4
stew/shims/strings.nim
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
proc add*(str: var string, chars: openarray[char]) =
|
||||||
|
for c in chars:
|
||||||
|
str.add c
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user