This commit is contained in:
iProgramInCpp
2023-08-01 10:41:16 +03:00
parent 35773b5ba6
commit 67d1fc4f44

View File

@@ -19,7 +19,7 @@ std::string Util::stringTrim(const std::string& str, const std::string& filter,
int startIndex = 0, endIndex = int(str.size()) - 1;
// @TODO: This ain't working man
// @TODO: Is this accurate?
if (a4)
{
while (startIndex < endIndex && strchr(filter.c_str(), str[startIndex]))