Removes whitespace from both ends of a string.
The string to trim.
The trimmed string.
Removes trailing whitespace from a string.
The string to trim.
The string with trailing whitespace removed.
Trims the string and replaces sequences of whitespace with a single space.
The string to normalize.
The string with normalized whitespace.
Removes leading whitespace from a string.
The string to trim.
The string with leading whitespace removed.
Trims whitespace from a string with methods for leading and trailing and normalizing whitespace.