If I used JavaScript I would know how to count characters in a string, but in Perl I'm not fimilar on how to accomplish this.<br><br><br>Can Perl do something similar to this?<br><br><b>--if ($company.index == 22)<br> $company->write('\r');</b><br><br>What I want to do is take the string value of $company and once the string contains 22 characters add a carriage return.<br> <p>Dano<br><a href=mailto:dskryzer@hotmail.com>dskryzer@hotmail.com</a><br><a href= > </a><br>What's your major malfunction