ChaiLove API
0.28.0
|
Provides some additional functionality to the basic string object. More...
Public Member Functions | |
std::string | replace (const std::string &search, const std::string &replace) |
Replaces all instances of the search string with the given replace string. More... | |
Provides some additional functionality to the basic string object.
std::string String::replace | ( | const std::string & | search, |
const std::string & | replace | ||
) |
Replaces all instances of the search string with the given replace string.
search | The string to search for that should be replaced. |
replace | The string that will replace the found string. |