Cicode Programming Reference > Cicode Function Categories > String Functions Introduction > StrRight

StrRight

Gets the rightmost characters from a string.

Syntax

StrRight(String, N)

String:

The source string.

N:

The number of characters to get from the source string.

Return Value

A string containing the rightmost N characters of String.

Related Functions

StrLeft, StrMid, StrLength

Example

Variable=StrRight("ABCDEF",2);
! Sets Variable to "EF".

See Also

String Functions