9 #ifndef __WVSTRINGLIST_H
10 #define __WVSTRINGLIST_H
13 #include "wvlinklist.h"
17 DeclareWvList2(WvStringListBase,
WvString);
81 void fill(
const char *
const *array);
84 void append(WVSTRING_FORMAT_DECL)
85 { append(
WvString(WVSTRING_FORMAT_CALL)); }
86 void append(
WvString *strp,
bool autofree,
char *
id = NULL);
95 #endif // __WVSTRINGLIST_H
void splitstrict(WvStringParm s, const char *splitchars=" \t\r\n", int limit=0)
split s and form a list creating null entries when there are multiple splitchars ie " happy birthday ...
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvString popstr()
get the first string in the list, or an empty string if the list is empty.
WvString join(const char *joinchars=" ") const
concatenates all elements of the list seperating on joinchars
WvRegex – Unified support for regular expressions.
This is a WvList of WvStrings, and is a really handy way to parse strings.
void split(WvStringParm s, const char *splitchars=" \t\r\n", int limit=0)
split s and form a list ignoring splitchars (except at beginning and end) ie.
WvStringList()
Instatiate a new WvStringList()
WvString is an implementation of a simple and efficient printable-string class.