Re: [NEWBIE] Find a chars name in a string

From: Sean Butler (sbutler@DEVEAST.COM)
Date: 01/05/98

>if i have some string (eg .. "hello everyone one. My name is
>DumbNewbie!"), what C function would return TRUE or whatever if i'm
>trying to test if string "DumbNewbie" - or for that matter, _any_ string
>- in some other string.

char *strstr(char *, char *);

However, you may want to make your own version of this if you
want case insensitivity. *shrug*

Sean Butler

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

This archive was generated by hypermail 2b30 : 12/15/00 PST