Files
nixpkgs/lib/default.nix
Matt Sturgeon aad87c2aa8 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.
2024-07-25 23:43:33 +01:00

8.3 KiB