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'