Finding part of the string followed by space

Hello,
How can I actually find part of the string lets say:
string abc ("1000 1111 11")

I want to find number 11 and issue is that it will find number 11 in number 1111 and thats not what I want thats why my number has to be followed by a space or if its at the end of the string as seen up.

Summarized: I want to find exact number not number in a number.

Anyone knows a solution to this? Thanks in advance.

UPDATE: Forgot to mention, to be returned as bool not position int.
Last edited on
Topic archived. No new replies allowed.