Right Function

Top  Previous  Next

 

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.

Details

---

Examples

 

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