40 #ifndef _consolestringmanipulation_cpp
41 #define _consolestringmanipulation_cpp
60 found = str.find_last_not_of(
" \n\r\t");
61 if (found != String::npos)
62 { str.erase(found+1); }
73 for (
unsigned int c=Leader.length(); c<Column;++c)
81 for(CharIter = StringToConvert; 0 != *CharIter; CharIter++)
82 { *CharIter = tolower(*CharIter); }
83 return StringToConvert;
88 char* temp =
new char[StringToConvert.size()+1];
89 char* CharIter = temp;
90 for(String::iterator Iter = StringToConvert.begin(); Iter!=StringToConvert.end(); Iter++)
91 { *CharIter++ = tolower(*Iter); }
99 {
return i?
"True":
"False" ; }
String MakePadding(String Leader, unsigned int Column)
Creates some blank spaces, useful for controlling the vertical location of console text...
Enumerations and constant values associated with the Unit tests.
String rtrim(const String &t)
Take the whitespace off the end of a String.
Mezzanine::String BoolToString(bool i)
Get a String Corresponding to a passed bool.
The bulk of the engine components go in this namspace.
char * AllLower(char *StringToConvert)
Makes a c style stron all lowercase with respect to the current locale.
std::string String
A datatype used to a series of characters.