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 A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
void split(WvStringParm s, const char *splitchars=" \\, int limit=0)
split s and form a list ignoring splitchars (except at beginning and end) ie.
WvString popstr()
get the first string in the list, or an empty string if the list is empty.
WvRegex – Unified support for regular expressions.
WvString join(const char *joinchars=" ") const
concatenates all elements of the list seperating on joinchars
void splitstrict(WvStringParm s, const char *splitchars=" \\, int limit=0)
split s and form a list creating null entries when there are multiple splitchars ie " happy birthday ...
This is a WvList of WvStrings, and is a really handy way to parse strings.
WvStringList()
Instatiate a new WvStringList()
WvString is an implementation of a simple and efficient printable-string class.