TF++, Miscellaneous classes and modules in C++:
|
std::string tfxx::string::patsubst | ( | const std::string & | s, |
const std::string & | p, | ||
const std::string & | r | ||
) |
replace pattern by string
s | string that contains pattern |
p | pattern string |
r | replacement for pattern |
s
with all instances of pattern p
replaced by r
Definition at line 160 of file stringfunc.cc.
Referenced by main().