RTRIM$/WRTRIM$

Top  Previous  Next

Syntax

STRING = RTRIM$(str as STRING)

WSTRING = WRTRIM$(str as WSTRING)

Description

Trims trailing whitespace characters from the string.

Parameters

str - The input string

Return value

A copy of the input string minus any trailing whitespace characters.

Remarks

Whitespace as defined by this function includes space and tab characters.

See Also: LTRIM$

Example usage

PRINT RTRIM$("Remove trailing spaces         ")