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

◆ trim() [1/3]

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

Removes all leading and trailing occurrences of white-space characters from the specified xtd::ustring.

Parameters
strxtd::ustring to trim end.
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 te and of the specified xtd::ustring.