Left Function

Function:

Returns len leftmost characters of a string sourcestring.

Syntax:

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

See Also:

Right, Mid

Part

Description

sourcestr

String from which to take len leftmost characters.

len

Number of characters to take.

Details


Examples

** Tibbo Basic **


ss = left("ABCDE",3) ' result will be 'ABC