Reading values within set range

Is there a way to read values within a set range in c++?

For example, if you have a,b,ab,ac and you want to read the characters between the parentheses store them.
Topic archived. No new replies allowed.