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 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.

 

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