Re: [CODE] clan.patch found in contrib/code/

From: Daniel A. Koepke (
Date: 08/14/00

On Sun, 13 Aug 2000, Shay wrote:

> strcmp() will work, but its not case insensitive i believe.  look at
> interpreter.c and you can see some examples, or if you use pfiles,
> theres some in db.c

str_cmp() is provided for this purpose.  It is case insensitive.
Remember it's a lexicographical comparison, not a boolean: it doesn't
return true or false on match or mismatch.  It returns the difference of
the strings.  Obviously, that's zero (0) if they are the same.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/11/01 PDT