mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
y-Web: supplement to commit 68cee82
This commit is contained in:
@@ -105,6 +105,8 @@ bool ySplitString(std::string str, std::string delimiter, std::string& left,
|
|||||||
replace(left, "\n", "");
|
replace(left, "\n", "");
|
||||||
replace(right, "\r\n", "");
|
replace(right, "\r\n", "");
|
||||||
replace(right, "\n", "");
|
replace(right, "\n", "");
|
||||||
|
left = trim(left);
|
||||||
|
right = trim(right);
|
||||||
return (pos != std::string::npos);
|
return (pos != std::string::npos);
|
||||||
}
|
}
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user