Feedback
Strings can now be trimmed using custom character sets
- Status
- Fixed
- Fixed in
- v26.7.3
- Source discussion
- https://forum.objo.dev/d/589-trimtrimstarttrimend-should-allow-optional-nonwhitespace-chars
- Last updated
- 2026-07-18
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
String.Trim(), TrimStart(), and TrimEnd() should accept a string containing the exact set of characters to remove. This makes it straightforward to clean delimiters, punctuation, and other non-whitespace characters from the ends of text while preserving the existing whitespace-only overloads.