Function Jet::Utilities::ReplaceAllInString

Function Documentation

inline void Jet::Utilities::ReplaceAllInString(std::string &s, const std::string &from, const std::string &to)

Replaces each occurrence of from with to in the given string.

Parameters
  • s – String to be searched for occurrences of from.

  • from – Substring to be replaced in s.

  • to – Replacement string for from.