Home
last modified time | relevance | path

Searched refs:sep (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Dstring_ex.cpp95 void SplitStr(const string& str, const string& sep, vector<string>& strs, bool canEmpty, bool needTrim) in SplitStr() argument
101 string::size_type pos = strTmp.find(sep); in SplitStr()
102 if (string::npos == pos || sep.empty()) { in SplitStr()
113 strTmp = strTmp.substr(sep.size() + pos, strTmp.size() - sep.size() - pos); in SplitStr()
/commonlibrary/utils_lite/js/builtin/filekit/src/
H A Dnativeapi_fs_impl.c127 char* sep = strrchr(fullPath, '/'); in MakeParent() local
128 if (sep != NULL) { in MakeParent()
129 *sep = 0; in MakeParent()
131 *sep = '/'; in MakeParent()
/commonlibrary/c_utils/base/include/
H A Dstring_ex.h90 * @brief Splits a string by `sep`.
93 * @param sep Indicates the substring to be used as the separator.
100 void SplitStr(const std::string& str, const std::string& sep, std::vector<std::string>& strs,

Completed in 2 milliseconds