TrinityCore
|
#include "G3D/platform.h"
#include "G3D/stringutils.h"
#include "G3D/BinaryInput.h"
#include <algorithm>
Namespaces | |
G3D | |
Functions | |
static bool | G3D::iswspace (int ch) |
void | G3D::parseCommaSeparated (const std::string s, Array< std::string > &array, bool stripQuotes=true) |
bool | G3D::beginsWith (const std::string &test, const std::string &pattern) |
Returns true if the test string begins with the pattern string. More... | |
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::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) |
Morgan McGuire, http://graphics.cs.williams.edu
2000-09-09 2011-08-20