diff options
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r-- | src/utils/twtstr.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim index 81384eed..c41b545f 100644 --- a/src/utils/twtstr.nim +++ b/src/utils/twtstr.nim @@ -158,6 +158,9 @@ func untilLower*(s: string; c: set[char]; starti = 0): string = func until*(s: string; c: char; starti = 0): string = return s.until({c}, starti) +func untilLower*(s: string; c: char; starti = 0): string = + return s.untilLower({c}, starti) + func after*(s: string; c: set[char]): string = let i = s.find(c) if i != -1: |