xtd 0.2.0
Loading...
Searching...
No Matches

◆ trim() [2/3]

ustring xtd::ustring::trim ( value_type  trim_char) const
noexcept

Removes all leading and trailing occurrences of a character specified from the specified xtd::ustring .

Parameters
strxtd::ustring to trim start.
trim_charA character to remove.
Returns
The xtd::ustring that remains after all occurrences of the character in the trim_char parameter are removed from the start and the end of the specified xtd::ustring.