I'm looking to search a string for example:
std::string str = "_Data_End__Begin_Data_End";
|_________| |_____________|
data data
section1 section2
If i'm searching for "Begin" in str
i want to make sure that it does look in "data section2
" if it wasn't found in "data section1
"
if i knew the length of "data section1
" would it be possible?