String.IFind(String) Method

Top 

Description

Searches for the specified stringToFind in the calling String, ignoring case.

 

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

String.IFind(

String stringToFind)

 

 

Arguments

stringToFind


Description:

The string or character to find in the calling String.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the start of the specified stringToFind in the calling String. Returns -1 if stringToFind is not a sub-string of the calling String. If more than one instance of stringToFind occurs in the calling String, only the index of the first instance is returned.

 

Syntax

myVariable1 = myString1.IFind(myString2);

 

 

See also

String Object

String.IFind

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data