Reads the string and removes all trailing white spaces.
TrimRight( String )
string | The string that should be trimmed. |
---|
The string without trailing white spaces.
TrimRight(" abc ") // Returns the string " abc". TrimRight("abc ") // Returns the string "abc".