Syntax 

RTrim[$](S$)


Group 

String 


Description 

Return the string with S$'s trailing spaces removed.


Parameters

Description

S$ 

Copy this string without the trailing spaces. If this value is Null then Null is returned.


See Also 

LTrim$( ), Trim$( )


Example

Sub Main

    Debug.Print "."; RTrim$("  x  "); "." '".  x."

End Sub