Map and Table Calculation

STRLE( ) function

Returns true if, in alphabetical order, String a comes before or on the same place as String b, i.e. a <= b.

Syntax

STRLE(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

STRLE 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:

? STRLE("Landuse","Forest")

returns False

? "Airport" <= "Industrial"

returns True

TabCalc example:

OutCol = STRLE(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

True

See also:

STRGE