Rtrim

Returns a string with all trailing white space characters removed.

White space characters include the ASCII space, horizontal tab, line feed, vertical tab, form feed, carriage return, and the Unicode space characters (Unicode category Zs).

Syntax

Rtrim(s )

Parameters

Parameter

Description

s

The string to trim.

Examples

The following expressions are examples that use the Rtrim function:

Expression

Returns

Rtrim("ABCD ")

"ABCD"

Rtrim("Tony Blue ")

"Tony Blue"

Rtrim(Address[0])

Removes any trailing white space from the first occurrence of Address.

// Ethnio survey code removed