Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference > Siebel VB Language Reference >
RTrim Function
This standard VB statement copies a string and removes any trailing spaces.
Syntax
RTrim[$](string)
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.
See Also
Left Function
Len Function
LTrim Function
Mid Function
Mid Statement
Right Function
Trim Function
Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference Published: 18 June 2003 |