RAD function: strtrmr

A RAD function that removes all trailing blanks from a string.

Function

strtrmr

Format

$L.void=strtrmr($string)

Parameters

The following parameters are valid for the strtrmr function:

Parameter Data type Description
$L.void= Not applicable. A syntax requirement only, does not affect the outcome of the function.
$string String The string being modified.

Note This RAD function is not available as a JavaScript system.functions call.

Example

$string="Hewlett-Packard  "
$L.void=strtrmr($string)

After execution, the value of $string is Hewlett-Packard.