No such thing as a small change | |
PerlMonks |
Re: How do I count charactersby davorg (Chancellor) |
on Apr 21, 2002 at 08:54 UTC ( [id://160856]=note: print w/replies, xml ) | Need Help?? |
You count the characters in a string use length. To split a string into substrings use substr. But to take a piece of text and wrap it into lines of a certain length, use the Text::Wrap module. --<http://www.dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|