Question about reading a string

Is it possible to reada string that is between two words?
For example, I have a text:

cout << "123.";
cout << one;

And i would like to get the string that between '<<' and ';'
which are "123." and one.
you can use combination or rfind and substr to accomplish this
Topic archived. No new replies allowed.