strncmp

Type: External

Group: char

Syntax

STRNCMP(string1, string2, no. of characters)

Description

Compares a number of characters in string1 to string2.

Examples

STRNCMP("ABcd", "abce", 3) 0 STRNCMP("abcd", "abce", 3) 1 STRNCMPI("abcd", "abce", 4) 0

See Also

strcmp, strcmpi, strncmpi