add new split string implemantation
This commit is contained in:
@@ -48,6 +48,10 @@ int main(int argc, char *argv[])
|
||||
hack::string::v_str v = hack::string::split_str(str, ',');
|
||||
hack::log log;
|
||||
for (const auto& c : v) log(c);
|
||||
|
||||
std::string str_2 { "qqq,aaa:eee,ggg" };
|
||||
hack::string::v_str v_2 = hack::string::split_str(str_2, ",:");
|
||||
for (const auto& c : v_2) log(c);
|
||||
}
|
||||
|
||||
{// ex: renge::within
|
||||
|
||||
Reference in New Issue
Block a user