utils: split: Rename all splitBy*() variants to split()
This commit is contained in:
@ -159,7 +159,7 @@ std::vector<std::string> PageDaoSqlite::fetchCategories(std::string pagename, Qu
|
||||
std::string PageDaoSqlite::ftsEscape(std::string input)
|
||||
{
|
||||
std::string result = "";
|
||||
for(auto &str : utils::splitByChar(input, ' '))
|
||||
for(auto &str : utils::split(input, ' '))
|
||||
{
|
||||
std::string tmp = utils::strreplace(str, "\"", "\"\"");
|
||||
tmp = "\"" + tmp + "\"" + " ";
|
||||
|
Reference in New Issue
Block a user