2 * UCW Library -- Word Splitting
4 * (c) 1997 Martin Mares <mj@ucw.cz>
5 * (c) 2004 Robert Spalek <robert@ucw.cz>
7 * This software may be freely distributed and used according to the terms
8 * of the GNU Lesser General Public License.
12 #include "lib/chartype.h"
17 sepsplit(byte *str, byte sep, byte **rec, uns max)
23 str = strchr(str, sep);
33 wordsplit(byte *src, byte **dst, uns max)
49 while (*src && *src != '"')
57 while (*src && !Cspace(*src))