9#ifndef __WVSTRINGLIST_H
10#define __WVSTRINGLIST_H
13#include "wvlinklist.h"
17DeclareWvList2(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);
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvRegex – Unified support for regular expressions.
This is a WvList of WvStrings, and is a really handy way to parse strings.
WvString join(const char *joinchars=" ") const
concatenates all elements of the list seperating on joinchars
WvStringList()
Instatiate a new WvStringList()
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 ...
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.
WvString popstr()
get the first string in the list, or an empty string if the list is empty.
WvString is an implementation of a simple and efficient printable-string class.