best way to implement

hi wanted to implement string substitution?

for eg: Cplusplus forum is %d great forum

the %d to be replaced by world

and there can be other tokens also %s, %t.

suggestion required.
std::string's .find(), .replace(), .substr(), etc. Info should be in the reference section.
Thank you albatross and firedraco..

can we use any boost to do this or any other optimised way to do this
Topic archived. No new replies allowed.