VirtualString.Compare(String) Method

Top 

Description

Performs a case-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.Compare(

String stringArgument)

 

 

Arguments

stringArgument


Description:

String to compare with the calling VirtualString.

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

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

 

 

See also

VirtualString Object