RTrim$ Function
SyntaxGroupRTrim[$](S$)
StringDescription
Return the string with S$'s trailing spaces removed.
See Also
Parameters Description S$ Copy this string without the trailing spaces. If this value is Null then Null is returned.
LTrim$( ), Trim$( )
Sub Main Debug.Print "."; RTrim$(" x "); "." '". x." End Sub