Text utility support class. This class is all static members. You do not create instances of this cla...
Definition: TextUtils.h:45
static String::size_type getWordStartIdx(const String &str, String::size_type idx)
Return the index of the first character of the word at idx.
static const String DefaultWrapDelimiters
The default set of word-wrap delimiters.
Definition: TextUtils.h:52
static String getNextWord(const String &str, String::size_type start_idx=0, const String &delimiters=DefaultWhitespace)
return a String containing the the next word in a String.
static void trimTrailingChars(String &str, const String &chars)
Trim all characters from the set specified in chars from the end of str.
static const String DefaultAlphanumerical
default set of alphanumericals.
Definition: TextUtils.h:51
static String::size_type getNextWordStartIdx(const String &str, String::size_type idx)
Return the index of the first character of the word after the word at idx.
static const String DefaultWhitespace
The default set of whitespace.
Definition: TextUtils.h:50
static void trimLeadingChars(String &str, const String &chars)
Trim all characters from the set specified in chars from the begining of str.