Right()

Syntax

Result$ = Right(String$, Length)
Description
Returns the specified number of characters from the right side of the string.

Parameters

String$ The string to use.
Length The number of characters to return. If this value exceeds the number of characters of the string, it will be returns the whole string.

Return value

A string holding the specified number of characters from the right side of the string.

Example

  Debug Right("This is Art", 3) ; Will display "Art"

See Also

Left()

Supported OS

All

<- ReverseString() - String Index - Space() ->