Re: [NEWBIE]StrStr question again

From: George (greerga@CIRCLEMUD.ORG)
Date: 01/06/98


On Tue, 6 Jan 1998, - Pure Krome - wrote:

>Haystack is - "here is some sentecne with the nameblahblah over here."
>Needle is - "name"
>
>result will be - "nameblahblah".

You'll have to call one_argument() after the strstr() call here, which will
modify the string so make preparations.  Not sure why the call fails, check
for extra spaces in the needle or capitalization.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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