VirtualString.ICompare(String) Method

Top 

Description

Performs a case in-sensitive Compare of the string represented by stringArgument and the string represented by 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.ICompare(

String stringArgument)

 

 

Arguments

stringArgument


Description:

String to compare with the calling VirtualString.

 

 

 

Return Value

Type:

number

 

 

If the two strings are identical, other than by case, then a value of 1 is returned, otherwise 0 is returned.

 

Syntax

myVariable1 = myString1.ToLowercase().ICompare(myString2);

 

 

See also

VirtualString Object