diff options
author | flywind <xzsflywind@gmail.com> | 2021-02-24 03:22:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 10:22:47 +0100 |
commit | 3f38f8fbb7c0dd3af641961ed98ef0e67ea91f3c (patch) | |
tree | f0ad53e014bcfb3bc321287c341198c9d349c9a5 /lib/pure/strutils.nim | |
parent | 46bd222c89c57217d1d4738f84f52de94f092c1d (diff) | |
download | Nim-3f38f8fbb7c0dd3af641961ed98ef0e67ea91f3c.tar.gz |
add strbasics.strip (#16280)
Diffstat (limited to 'lib/pure/strutils.nim')
-rw-r--r-- | lib/pure/strutils.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index da1a0a59b..d04c972d4 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -2753,6 +2753,7 @@ func strip*(s: string, leading = true, trailing = true, ## If both are false, the string is returned unchanged. ## ## See also: + ## * `strip proc<strbasics.html#strip,string,set[char]>`_ Inplace version. ## * `stripLineEnd func<#stripLineEnd,string>`_ runnableExamples: let a = " vhellov " |