Map and Table Calculation

LEFT( ) function

Returns a number of characters of a string, counting forwards from the beginning of the string.

Syntax

LEFT(String, Value)

Input

String is a string
Domain type: any Class or ID domain, or system domain String
Value is the number of characters that should be returned
Domain type: any Value domain
Value range: >=0

Output

LEFT returns: a string
Domain type: system domain String

Notes:

Tip:

Usable in

TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? LEFT("Landuse",3.5)

returns Land

? LEFT("Industrial",6)

returns Indust

TabCalc example:

OutCol = LEFT(InCol,6)

 

InCol

OutCol

Institutional

Instit

Commercial

Commer

Residential

Reside

?

?

Industrial

Indust

Recreational

Recrea

Transport

Transp

Airport

Airpor

Water

Water

See also:

STRGE