Loading...   


void replace(std::string& pString, std::string& pSearch, std::string& pValue) {
	auto index = pString.find_first_of(pSearch);
	while (index != std::string::npos) {
		pString.replace(index, index+1, pValue);
		index = pString.find_first_of(pSearch);
	}
}

Raw Paste Data