10#include "wvstringlist.h"
16 return ::strcoll_join(*
this, joinchars);
22 return ::strcoll_split(*
this, s, splitchars, limit);
28 return ::strcoll_splitstrict(*
this, s, splitchars, limit);
31void WvStringList::fill(
const char *
const *array)
33 while (array && *array)
43 WvStringListBase::append(
new WvString(str),
true);
47void WvStringList::append(
WvString *strp,
bool autofree,
char *
id)
49 WvStringListBase::append(strp, autofree,
id);
69 return ::strcoll_split(*
this, s, regex, limit);
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
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=" \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.