Files
test/source/blender/blenlib/tests
Sybren A. Stüvel 7e91a60be6 Add StringRef::trim() functions
Add three functions that trim characters from the front & end of a
`StringRef`. All functions return a new `StringRef` that references a
sub-string of the original `StringRef`.

- `trim(chars_to_remove)`: strips all characters from the start and end
  that occur in `chars_to_remove`.
- `trim(char_to_remove)`: same, but with a single character to remove.
- `trim()`: remove leading & trailing whitespace, so same as
  `trim(" \r\n\t")`

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D12031
2021-07-27 19:49:29 +02:00
..
2021-05-25 17:16:54 +02:00
2020-08-11 13:19:09 +10:00
2020-12-14 14:09:18 +03:00
2021-03-25 16:01:41 +01:00
2021-06-22 10:54:50 -07:00
2021-06-29 10:37:00 +10:00
2020-11-09 15:47:08 +11:00
2021-06-18 14:41:24 +10:00