strobj.find(str1,pos), what if position argument is out of the size?
Will the following code make the find() search until the string::npos?
1 2
|
string l="hello";
l.find("hey",10);//out of range of l.size();
|
thanks!
Topic archived. No new replies allowed.