stringutil.h
Go to the documentation of this file.
00001 #ifndef TX_STRING_UTIL
00002 #define TX_STRING_UTIL
00003 
00004 #include <vector>
00005 #include <string>
00006 #include <sstream>
00007 
00008 namespace StringUtil
00009 {
00010 
00011    bool startsWith(const std::string & str, const std::string substr);
00012 
00013    bool endsWith(const std::string & str, const std::string substr);
00014    std::string toLower(const std::string & s);
00015    std::string toUpper(const std::string & s);
00016 
00017    std::string trim(const std::string & s);
00018 
00019    std::vector<std::string> split(const std::string & s, const char* delim);
00020 
00021    std::string createFromNumber(int value);
00022    std::string createFromNumber(double value);
00023 
00024 };
00025 
00026 #endif
00027 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


tidyup_utils
Author(s): Andreas Hertle
autogenerated on Wed Dec 26 2012 15:27:25