[NEWBIE] Find a chars name in a string

From: - Pure Krome - (pure@SPRINT.COM.AU)
Date: 01/03/98


Hello all.
    VERY VERY simple question here.

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.

i thought of using strcmp but i think that only compares two strings,
not the _contents_ of one string to some other string.

make sence?

J.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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