Siebel VB Language Reference > VB Language Reference >
RTrim Function
This standard VB statement copies a string and removes any trailing spaces. Syntax
RTrim[$](string)
|
|
string |
A string or string expression |
Returns
A string with any trailing spaces removed. Usage
RTrim accepts any type of string, including numeric values, and converts the input value to a string. The dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string). If the value of string is NULL, a variant of vartype 1 (Null) is returned. Example
For an example, read Rset Statement. Related Topics
Left Function Len Function LTrim Function Mid Function Mid Statement Right Function Trim Function
|