will
1
Basically, the equivalent of strings.Trim "\f\n\r\t\v "
, but for starts and ends of strings only:
- stripLeft STRING, strings.StripLeft STRING
- stripRight STRING, strings.StripRight STRING
- strip STRING, strings.Strip STRING
Note that chomp only works on ends, and only for \n\r
.
Havent tested it, but according to the docs strings.Trim
handles begin and end only.
Maybe I got your request wrong?
Do you want an alias for whitespace only?
will
3
Ah, you’re right, thanks.
system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.