String.ICompare(String) Method

Top 

Description

Performs a case in-sensitive Compare of the string represented by stringArgument and the string represented by the calling String.

 

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

String.ICompare(

String stringArgument)

 

 

Arguments

stringArgument


Description:

String to compare with the calling String.

 

 

 

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

 

 

See also

String Object

Parsing Dates and Times

Parsing Arbitrary String Data

Parsing Arbitrary String Data