glVertex  5.5.2
Public Member Functions | Static Public Member Functions | List of all members
lgl_string Class Reference

LGL string class that extends std::string. More...

#include <glvertex_string.h>

Inherits string.

Public Member Functions

bool empty () const
 is the string empty?
 
std::string prefix (const std::string &match) const
 get prefix before first substring match
 
std::string suffix (const std::string &match) const
 get suffix after last substring match
 
std::string head (const std::string &match) const
 get head before last substring match
 
std::string tail (const std::string &match) const
 get tail after first substring match
 
bool startsWith (const std::string &with) const
 match begin
 
bool endsWith (const std::string &with) const
 match end
 
lgl_string strip (const std::string &match) const
 strip match from begin
 
lgl_string chop (const std::string &match) const
 chop match from end
 
lgl_string remove (const std::string &start, const std::string &stop)
 remove fragment between start and stop delimiters
 
lgl_string toLower (char separator='\0') const
 convert to lower case
 
lgl_string toUpper () const
 convert to upper case
 
lgl_string replaceWhiteSpace () const
 replace white space
 
lgl_string replaceNonPrintable () const
 replace non-printable characters
 
lgl_string replaceNonAlphaNumeric () const
 replace non-alphanumeric characters
 
void replaceAll (const std::string &search, const std::string &with)
 replace all occurrences in place
 

Static Public Member Functions

static void stringReplaceAll (std::string &text, const std::string &search, const std::string &with)
 replace all occurrences in std::string
 

Detailed Description

LGL string class that extends std::string.


The documentation for this class was generated from the following file: