Right(stringValue, numberOfCharacters)

Returns a specified number of characters from the right side of a String.

Dim ST1 As String * 12
ST1 = "CUBLOC"
Debug Right(ST1,4)      ' "BLOC" is printed.

See also Left and Mid.

Go CUBLOC home