March 2003
Intermediate to advanced
512 pages
14h 30m
English
RTrim Function
RTrim(stringexp)stringexpUse: Required
Data Type: String
A valid string expression.
A String.
Removes any trailing spaces from
stringexp.
If stringexp contains a Null, RTrim returns
Null.
Unless you need to keep leading spaces, you should use the
Trim function, which is the equivalent of
RTrim(LTrim(
string )), thereby clearing both leading and
trailing spaces in a single function call.
Because it does not support strong typing, VBScript does not support the VBA RTrim$ function, which returns a strongly typed string rather than a string variant.
Read now
Unlock full access