Functions

csStrcmp

Supported By

Syntax

[the] csStrcmp of ( expression , expression )

csStrcmp ( expression , expression )

Expression yields a string.

Description

The strcmp function compares the two given strings by Unicode code point. If the first string comes before the second, a negative integer is returned. If the first string comes after the second, a positive integer is returned. If the two strings are equal, zero is returned.

The csStrcmp function is case-sensitive. For a case-insensitive version of this function, see strcmp. For a regular expression-based version of this function, see regMatch.

See Also

strcmp, regMatch, trMatch