IR Framework

String.rTrim Method

Returns a copy of the string with any trailing spaces removed.
object.rTrim ( )

Arguments

object
Required. Always the name of a String object.



Return Value

The String.rTrim method returns a copy of the string with any trailing spaces removed.

Remarks

The following example illustrates the use of the String.rTrim method.

Alert("Hello    ".rTrim());


Requirements