Rtrim$

Purpose:

Removes spaces or other strings from the end of a string.

Parameter:

String

String  (optional) String to be removed (Default: Spaces).

Return value:

String

Example:

RTrim$("John    ")      Result: "John"