kingscallop
0ccbdcaa0c
Fix various trim functions ( #271 )
...
Trim doesn't handle the case where the whole string should be trimmed,
due to being composed of only trimmable chars.
For example the string "\n" when trimmed with chars " \t\n\r" should
yield the empty string "" and not return "\n".
Some test cases were fixed and some were added.
2022-01-01 10:38:58 -08:00
..
2021-01-14 15:52:13 -08:00
2021-10-12 21:04:11 -07:00
2021-01-14 15:52:13 -08:00
2021-10-25 18:59:11 -07:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-10-13 19:54:13 -07:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-10-25 18:59:11 -07:00
2021-01-14 15:52:13 -08:00
2021-10-13 19:54:13 -07:00
2021-01-14 15:52:13 -08:00
2022-01-01 10:38:58 -08:00
2021-10-25 18:59:11 -07:00
2021-01-14 15:52:13 -08:00
2021-01-14 15:52:13 -08:00
2021-10-13 20:07:24 -07:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2021-01-14 15:52:13 -08:00
2017-03-09 21:41:09 -08:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2016-09-05 20:55:30 -07:00
2021-12-04 07:36:43 -08:00