You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
299 B
15 lines
299 B
#ifndef STRING_TOOL
|
|
#define STRING_TOOL
|
|
|
|
#include <string>
|
|
|
|
#define STRING_WHITESPACES " \t\r\n"
|
|
|
|
class StringTool
|
|
{
|
|
private:
|
|
public:
|
|
static void String2CmdArg(std::string s, std::string & cmd, std::string & arg);
|
|
static std::string stripWhiteSpace(std::string s);
|
|
};
|
|
#endif
|