RTrim(stringValue)

Removes all blank spaces from the right side of the given String.

Dim ST1 As String * 12
ST1 = "COMFILE  "
ST1 = RTrim(ST1)
Debug ST1,"TECH"         ' COMFILETECH is printed.  
                         ' Blank spaces on the right are removed.

See also LTrim

Go CUBLOC home