DIAdem Help

Method: RTrim for VBS

  • Updated2024-09-12
  • 1 minute(s) read

Method: RTrim for VBS

Deletes trailing blanks in a text.

vRTrim = Object.RTrim(string)
ObjectVBS
Object with this method. You do not need to specify this object.
stringVariant
Specifies the text.
vRTrimVariant
Receives a text without trailing blanks.

The following example deletes trailing blanks in a text:

Dim MyString
MyString = RTrim("    DIAdem   ")
Call MsgBox(MyString) ' Returns "    DIAdem"

See Also

Objects Overview

Related Topics

Filter | InStr | InStrB | InStrRev | Join | LCase | Left | LeftB | Len | LenB | LTrim | Mid | MidB | Replace | Right | RightB | RTrim | Space | Split | StrComp | String | StrReverse | Trim | UCase

Log in to get a better experience