In C, the only (standard) way to compare strings is to use strcmp(). And note that strcmp() returns 0 when strings are equal.

--
Mats