/* spacedwds.c */

/* Recycle Object */

/* 1st While-loop, ignore as far as space letters.                         */

/* 2nd While-loop, once reach to a character letter, read them including 

    blank(' '), until end of line '\0'.                                    */



#include <ctype.h>



extern char *spacedwd (char *to, char *from)

{

   while ( isspace(*from) && *from != '\0') ++from;

   while (  (!isspace(*from) || *from == ' ') && *from != '\0') *to++ = *from++;

   *to = '\0';

   return(from);

}