+ 1

Find nearest character in a string in c++

Hello everyone! I am working on a parser and I stucked in a problem that I can't solve. I have a string that contains something, and I search for a word in it with string::find. It works well, but I would like to go further. I would like to find the nearest semicolon to the searched word what's after this word. Could anyone help me please in that?

29th Mar 2018, 9:51 AM
InfiniteFX
InfiniteFX - avatar
1 Answer
0
thank you!
29th Mar 2018, 1:02 PM
InfiniteFX
InfiniteFX - avatar