RTrim()

Top  Previous  Next

RTrim() - Remove trailing spaces from a string

Description

The RTrim() function is used to remove the trailing spaces from a string.

RTrim(string)

Example

MyString = RTrim("  Hello  ") 'returns "  Hello'