String.Find Method

Top 

Description

Returns the position of the specified string (or character) in the calling String, or the number of matches in the calling StringArray.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

String.Find(String stringToFind)

Variable

Searches for the specified stringToFind in the calling String.

String.Find(String stringToFind, Variable startIndex)

Variable

Searches for the specified stringToFind in the calling String. The search for a match to the specified stringToFind starts at the location specified by startIndex.

String.Find(String stringToFind, Variable startIndex, Variable lengthToSearch)

Variable

Searches for the specified stringToFind in the calling String. The search for a match to the specified stringToFind starts at the location specified by startIndex and ends at the location specified by lengthToSearch.

 

 

See also

String Object

String.Match

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data