|
void | G3D::parseCommaSeparated (const std::string s, Array< std::string > &array, bool stripQuotes=true) |
|
size_t | G3D::findSlash (const std::string &f, size_t start=0) |
|
size_t | G3D::maxNotNPOS (size_t i, size_t j) |
| Returns the larger string index, ignoring std::string::npos. More...
|
|
size_t | G3D::findLastSlash (const std::string &f, size_t start=std::string::npos) |
|
std::string | G3D::replace (const std::string &s, const std::string &pattern, const std::string &replacement) |
|
bool | G3D::isValidIdentifier (const std::string &s) |
|
bool | G3D::beginsWith (const std::string &test, const std::string &pattern) |
| Returns true if the test string begins with the pattern string. More...
|
|
bool | G3D::endsWith (const std::string &test, const std::string &pattern) |
| Returns true if the test string ends with the pattern string. More...
|
|
std::string | G3D::wordWrap (const std::string &input, int numCols) |
| Produces a new string that is the input string wrapped at a certain number of columns (where the line is broken at the latest space before the column limit.) Platform specific NEWLINEs are inserted to wrap. More...
|
|
int | G3D::stringCompare (const std::string &s1, const std::string &s2) |
|
int | G3D::stringPtrCompare (const std::string *s1, const std::string *s2) |
|
std::string | G3D::toUpper (const std::string &x) |
|
std::string | G3D::toLower (const std::string &x) |
|
G3D::Array< std::string > | G3D::stringSplit (const std::string &x, char splitChar) |
|
std::string | G3D::stringJoin (const G3D::Array< std::string > &a, char joinChar) |
|
std::string | G3D::stringJoin (const G3D::Array< std::string > &a, const std::string &joinStr) |
|
std::string | G3D::trimWhitespace (const std::string &s) |
|
bool | G3D::isWhiteSpace (const unsigned char c) |
|
bool | G3D::isNewline (const unsigned char c) |
|
bool | G3D::isDigit (const unsigned char c) |
|
bool | G3D::isLetter (const unsigned char c) |
|
bool | G3D::isSlash (const unsigned char c) |
|
bool | G3D::isQuote (const unsigned char c) |
|
int | G3D::countNewlines (const std::string &s) |
|
Morgan McGuire, http://graphics.cs.williams.edu
- Author
- 2000-09-09 2010-03-05