Functions

rtrim

Supported By

Syntax

the rtrim of factor

rtrim ( expression )

Factor and expression yield strings.

Example

put rtrim("  Hello, world!  ") -- yields "  Hello, world!"

Description

The rtrim function trims all spaces, tabs, line breaks, control characters, line separators, and paragraph separators from the end of the given string and returns the trimmed string.

See Also

trim, ltrim