MindFusion.Reporting for Silverlight Programmer's Guide
StrComp

Returns a value indicating the result of a comparison of the specified strings.

Syntax

 Copy Code

int StrComp (
    string a,
    string b
)

Parameters

a
Any valid string expression.
b
Any valid string expression.

Return Value

The StrComp function has the following return values.

Parameters

Return Value

String a sorts ahead of string b

-1

String a is equal to string b

0

String a sorts after string b

1

Remarks

The strings are compared by alphanumeric sort values beginning with the first character.

See Also

Text Functions
InStr Function