Maptitude GISDK Help

ArrayElementToString(), A2S()

Summary

Converts an array element to a string.

 

Syntax

int_value = ArrayElementToString(array arr, int pos)

 

Argument

Contents

arr

An array

pos

The position of the array element

 

Returns

The array element in the position pos if it is of the right type or null if the element is the wrong type or if pos is out of bounds.

 

Notes

Example

word2 = A2S(ParseString("Hello world", " "),2) // Get the second word of the parsed string

 

See Also

Function

Summary

ArrayElementToInteger()

Converts an array element to an integer

ArrayElementToReal()

Converts an array element to a real number

ExtractArray()

Returns the specified sub-array, which must itself be an array

 

 

©2025 Caliper Corporation www.caliper.com