add strbasics.strip (#16280)
This commit is contained in:
parent
46bd222c89
commit
3f38f8fbb7
4 changed files with 226 additions and 0 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue