Question: I cannot find whats wrong with the line string prefix = s.substr(1,6); if (prefix == search) For Code: I need help fixing the call to
I cannot find whats wrong with the line
string prefix = s.substr(1,6);
if (prefix == "search")
For Code:

I need help fixing the call to string::substr().
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
