String.Compare

number String.Compare ( 

string Text,

string CompareTo )

Description

Performs a case-sensitive comparison between two strings.

Parameters

Text

(string) The string you want to compare to CompareTo.

CompareTo

(string) The string you want to compare to Text.

Returns

(number) A number representing the result of the comparison:

VALUE

DESCRIPTION

-1

The string in Text is less than (<) the string in CompareTo.

0

The string in Text is equal to (=) the string in CompareTo.

1

The string in Text is greater than (>) the string in CompareTo.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions