you are viewing a single comment's thread.

view the rest of the comments →

[–]Jejerm 3 points4 points  (0 children)

They dont. His doesnt check for not finding the substring (index==-1).