in reply to Re: Requesting feedback
in thread Requesting feedback

I found the same error. There is an "off by 1" problem when the input string does not end with a "\n".
The counting variable $i is incremented by 2 at each loop, and decreased by one when a "\n" is met.
Using "Hello world\n", it will work.


cchampion