diff options
| author | Matt Sturgeon <matt@sturgeon.me.uk> | 2024-05-28 18:22:43 +0100 |
|---|---|---|
| committer | Matt Sturgeon <matt@sturgeon.me.uk> | 2024-07-25 23:43:33 +0100 |
| commit | aad87c2aa8d00fe8a9c4d8198cf166d652f8f28c (patch) | |
| tree | 393fab90dfcd7380d2d231fdbeed75d55e6547f5 /pkgs/development/python-modules/rangehttpserver | |
| parent | d1e70dde57184785861ce9cf4e0ec10e378ffa65 (diff) | |
lib.strings: add `trim` and `trimWith`
`strings.trim` returns a copy of the string with all leading and trailing
whitespace removed.
`strings.trimWith` does the same thing, but calling code can decide
whether to trim the start and/or end of the string.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
