Map and Table Calculation

RIGHT( ) function

Returns a number of characters of a string, counting from the end of the string.

Syntax

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

RIGHT returns: a string
Domain type: system domain String

Notes:

Tip:

When the definition symbol = is used, a dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output column has been calculated.

Usable in

TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? RIGHT("Landuse",3.5)

returns duse

? RIGHT("Industrial",6)

returns strial

TabCalc example:

OutCol = RIGHT(InCol,6)

 

InCol

OutCol

Institutional

tional

Commercial

ercial

Residential

ential

?

?

Industrial

strial

Recreational

tional

Transport

nsport

Airport

irport

Water

Water

See also:

STRGE