Couldn't understand errors displayed


This is my code.
It shows that i can’t use searchIn[i].length() function.
What’s the error?

@tanjuljain19
refr to this code