includes/std: Fixed std::string::replace truncating output incorrectly (#157)

This commit is contained in:
paxcut
2023-09-10 00:40:29 -07:00
committed by GitHub
parent 8eed75d783
commit 7fba66a444

View File

@@ -230,6 +230,7 @@ namespace std::string {
i = i + 1;
}
}
result = result + std::string::substr(string,string_len-pattern_len-1,pattern_len);
return result;
};