StringArray.Find(String) Method

Top 

Description

Searches each element of the calling StringArray for an exact match of the stringToFind.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

StringArray.Find(

String stringToFind)

 

 

Arguments

stringToFind


Description:

The string or character to find in the calling StringArray.

 

 

 

Return Value

Type:

number

 

 

Returns the number of instances of the specified stringToFind that were found in the calling StringArray. Returns 0 if stringToFind is not found in the calling StringArray.

 

Syntax

myVariable1 = myStringArray1.Find(myString1);

 

 

Example 1

 

 

See also

StringArray Object

StringArray.Find

Parsing Arbitrary String Data