Quote Originally Posted by olove View Post
I miss the (s)
but what do you suggest instead of strlen?
You can use strlen. You just shouldn't use it inside the loop condition. Calculate the string length before the for statement and then use the calculated value.