Re: Newbie? Parsing casting syntax

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/11/98


On Tue, 11 Aug 1998, Brett Williams wrote:

>Ok. I want to parse the casting syntax from:
>   cast 'spell' target
>into:
>   cast spell at target with arguments
>
>I'm not really sure how to break it up, considering strtok uses only 1
>character, not words ... Thanx.

half_chop()

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- 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