rtrim()
Removes the specified characters from the end of a string.
rtrim(string,substr)
Removes every instance of each character in substr from the end of string. This function is case-sensitive. To remove trailing spaces, do not specify a value for substr.
This example shows that rtrim removes the specified characters from the end of a string. This function is case-sensitive.
