StringCompare(String, String) Function

Top 

Description

Returns "1" if stringArgument1 is identical (case sensitive) to stringArgument2 and returns "0" if stringArgument1 is different from stringArgument2.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

StringCompare(

String stringArgument1,


String stringArgument2)

 

 

Arguments

stringArgument1


Description:

The string to be compared to.

 

 

stringArgument2


Description:

The string to be compared.

 

 

 

Return Value

Type:

boolean

 

 

Returns "1" if the first argument is identical (case sensitive) to the second and returns "0" if the first argument is different from the second.

 

Syntax

myVariable1 = StringCompare(myString1, myString2);

 

 

See also

StringCompare