right Function

Function:

Returns len rightmost characters of a string sourcestr.

Syntax:

right(byref sourcestr as string, len as byte) as string

See Also:

left, mid


Part

Description

sourcestr

String from which to take len rightmost characters.

len

Number of characters to take.


Examples

Tibbo BASIC
s = right("ABCDE",3) ' result will be 'CDE'

right Function

Examples