For the complete documentation index, see llms.txt. This page is also available as Markdown.

RTrim

Trim trailing whitespace from a string.

If chars is provided, each character in the string is treated as a character to trim instead of whitespace.

Method Signature

RTrim(string=[string], chars=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to trim

chars

string

false

An optional string of characters to trim. Each character is treated individually.

Examples

Right Trim

Run Example

">" & rTrim( "    BLDocs    " ) & "<";

Result: > BLDocs<

Additional Examples

Run Example

Last updated

Was this helpful?