VirtualString.Find(String) Method

Top 

Description

Searches for the specified stringToFind in the calling VirtualString.

 

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

VirtualString.Find(

String stringToFind)

 

 

Arguments

stringToFind


Description:

The string or character to find in the calling VirtualString.

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = myString1.ToLower.Find(myString2);

 

 

See also

VirtualString Object

VirtualString.Find