I want to replace a set of strings between << >> delimiters.
For example say
int age= 25;
string name= "MYNAME";
string test = My age is << your age >> and my name is << your name >>.
Output should be
My age is 25 and my name is MYNAME.
What is the best method to do this is c++ ?