Fixed strlen in "for" loops

I hate "strlen" in "for" loops! It should be banned in any language :)