StrCmpNStrCmpN*
*Contents  *Index  *Topic Contents
*Previous Topic: StrChrI
*Next Topic: StrCmpNI

StrCmpN


int StrCmpN(
    LPCTSTR lpStr1,
    LPCTSTR lpStr2,
    int nChar
    );   

#define StrNCmp StrCmpN

Compares a specified number of characters of two strings to determine if they are the same. The comparison is case sensitive. The StrNCmp macro differs from this function in name only.

lpStr1
Address of the first string to be compared.
lpStr2
Address of the second string to be compared.
nChar
Number of characters to be compared.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.