Sure. Of course, beauty is in the eye of the beholder, and maybe some other members can chime in, but...
First, not that it matters, but I don't think this stipulation in the third elseif clause...
Type: Posts; User: CT&SC
Sure. Of course, beauty is in the eye of the beholder, and maybe some other members can chime in, but...
First, not that it matters, but I don't think this stipulation in the third elseif clause...
Change this line:
shorterSentence.find(find);
to this line:
result = shorterSentence.find(find);
There is also some tidying up you could do, but I think that the only problem with the code is...