mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-04 04:11:09 +02:00
y-Web: supplement to commit 68cee82
Origin commit data
------------------
Commit: 09a68d0b8d
Author: GetAway <get-away@t-online.de>
Date: 2020-07-05 (Sun, 05 Jul 2020)
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