Files
test/source/blender/blenlib
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-07-27 19:49:29 +02:00
2021-03-29 19:11:17 -06:00
2021-07-20 11:12:24 +10:00
2021-01-11 14:59:05 +01:00
2021-01-11 14:59:05 +01:00
2021-01-04 17:38:11 +11:00
2021-06-02 08:28:46 -04:00
2020-08-28 10:04:26 -06:00
2021-05-21 10:25:47 +05:30
2021-01-04 17:38:11 +11:00
2021-01-15 12:17:11 +11:00
2021-01-11 14:59:05 +01:00
2021-07-07 13:42:46 +10:00
2021-03-25 16:01:41 +01:00
2021-04-19 23:56:12 +10:00
2021-06-28 13:16:32 +02:00