Map and Table Calculation

STRLT( ) function

Returns true if, in alphabetical order, String a comes before String b, i.e. a < b.

Syntax

STRLT(String a, String b)

Input

String a is a string
Domain type: any Class or ID domain, or system domain String
String b is a string
Domain type: any Class or ID domain, or system domain String

Output

STRLT returns: a boolean value, i.e. True, False or undefined
Domain type: system domain Bool

Note:

When one of the input parameters is undefined, or when both input parameters are undefined, the output will also be undefined.

Tips:

Usable in

TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? STRLT("Landuse","Forest")

returns False

? "Airport" < "Industrial"

returns True

TabCalc example:

OutCol = STRLT(Landuse,Geomorphology)

 

Landuse

Geomorphology

OutCol

Institutional

Glacial slope

False

Commercial

Glacial lake

True

Residential

Old landslide

False

?

Active landslide

?

Industrial

Heavily eroded area

False

Recreational

River floodplain

True

Transport

Valley in alluvial fan

True

Airport

?

?

Water

Water

False

See also:

STRGE