Function pinocchio::replace
Defined in File string.hpp
Function Documentation
-
inline bool pinocchio::replace(std::string &input_str, const std::string &from, const std::string &to)
Replace string from with to in input_str.
- Parameters:
input_str – [in] string on which replace operates.
from – [in] The string to replace.
to – [in] The string to replace the old value with.
- Returns:
true if from has been found within input_str