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.

 

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.ToLower.ICompare(myString2);

 

See also

VirtualString Object