Maptitude GISDK Help

FindStrings()

Summary

Finds strings in an array that match one or more search specs.

 

Syntax

a = FindStrings(array input_array, array specs_array, array options)

 

Argument

Contents

input_array

An array of strings to be searched

specs_array

An array of search specs, each an array of one or more search strings

 

No options are currently supported.

 

Returns

An array with an index (0 if not found) for each search spec, even if input_array is null, or null if specs_array is null.

 

Notes

 

Example

result = FindStrings({"alpha", "zipcode", "zip"},

     { {"<z", ">a"}, {"=gamma", "<code", "=AlpHa"} }, )

// result = { 2, 1}

 

Error Codes

No error will be returned.

 

See Also

Function

Summary

ArrayPosition()

Finds the position of a sub-array in an array

Subarray()

Extracts a number of elements from an array

 

 

©2025 Caliper Corporation www.caliper.com