24#ifndef UTIL_STRING_HELPER_H
25 #define UTIL_STRING_HELPER_H
36 static string toUpper(
string p_str);
37 static string toLower(
string p_str);
43 static long toLong(
string p_str);
44 static double toDouble(
string p_str);
46 static vector<string>
split(
const string &p_source,
const string &p_delimiter);
47 static string trim(
string p_source);
48 static string kHash(
string par,
int p_len = 8);
Definition: stringhelper.h:34
static int toInteger(string p_str)
Definition: stringhelper.cpp:74
static long toLong(string p_str)
Definition: stringhelper.cpp:84
static double toDouble(string p_str)
Definition: stringhelper.cpp:89
static string integerToString(int p_src)
Definition: stringhelper.cpp:44
static string kHash(string par, int p_len=8)
Definition: stringhelper.cpp:154
static string toUpper(string p_str)
Definition: stringhelper.cpp:26
static bool toBoolean(string p_str)
Definition: stringhelper.cpp:94
static vector< string > split(const string &p_source, const string &p_delimiter)
Definition: stringhelper.cpp:102
static string doubleToString(double p_src)
Definition: stringhelper.cpp:64
static string toLower(string p_str)
Definition: stringhelper.cpp:36
static string unsignedIntegerToString(unsigned int p_src)
Definition: stringhelper.cpp:54
static unsigned int toUnsignedInteger(string p_str)
Definition: stringhelper.cpp:79
static string trim(string p_source)
Definition: stringhelper.cpp:123