summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorMatt Sturgeon <matt@sturgeon.me.uk>2024-05-28 18:22:43 +0100
committerMatt Sturgeon <matt@sturgeon.me.uk>2024-07-25 23:43:33 +0100
commitaad87c2aa8d00fe8a9c4d8198cf166d652f8f28c (patch)
tree393fab90dfcd7380d2d231fdbeed75d55e6547f5 /pkgs/development/python-modules/rangehttpserver
parentd1e70dde57184785861ce9cf4e0ec10e378ffa65 (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