123456789101112131415161718192021222324252627 |
- //
- // Created by xcbosa on 2023/1/31.
- //
- #include <string>
- #include <iostream>
- #include <sstream>
- #include <vector>
- #include <string.h>
- using namespace std;
- namespace xc {
- namespace utils {
- vector<string> split(const string& str, const string& delim);
- string replace_all(string& src, const string& old_value, const string& new_value);
- string fixStringTransfer(string& src);
- string& trim(string &s);
- string uppercase(string s);
- int to_int(string s, bool &isSuccess);
- int to_int(string s, int defaultValue);
- bool is_in(int value, int minIncluded, int maxExcluded);
- string create_uuid();
- } // xc
- } // utils
|