LTrim(stringValue)

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

Dim ST1 As String * 12
ST1 = "  COMFILE"
ST1 = LTrim(ST1)
Debug "AAA",ST1            ' AAACOMFILE is printed.

See also RTrim

Go CUBLOC home