XFA Specification
Chapter 23, FormCalc Specification
String Built-in Functions
885
Rtrim()
This function returns a string with all trailing white space characters removed.
Syntax
Rtrim(s1)
Parameters
s1
is the string to be trimmed.
Returns
The trimmed string or null if any of its parameters are null.
White space characters includes the ASCII space, horizontal tab, line feed, vertical tab, form feed, and
carriage return, as well as, the Unicode space characters (Unicode category Zs).
Examples
Rtrim("ABC ")
returns "ABC".
Rtrim("XYZ ABC ")
returns "XYZ ABC".