Re: [QUESTION] simple

From: Daniel Koepke (dkoepke@california.com)
Date: 01/17/97


On Fri, 17 Jan 1997, Reza Nejad wrote:

> How do I strip a leading space from a string?

CircleMUD provides the function skip_spaces() to do this, although
it's easy to do without that function too.

  while (*str && isspace(*str))
    str++;

Hrm.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


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



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