Function xbe::sdk::utils::strings::ReplaceAll

Function xbe::sdk::utils::strings::ReplaceAll#

Function Documentation#

void xbe::sdk::utils::strings::ReplaceAll(utility::string_t &str, const utility::string_t &pattern, const utility::string_t &replace)#

Replaces all occurrences of pattern in the given string str with the contents of replace.

Parameters:
  • str – The string to perform replacement on.

  • pattern – The pattern to search for.

  • replace – The string to replace the string contents with.