![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Counting Charactersby Anonymous Monk |
on Mar 02, 2006 at 20:25 UTC ( #534040=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi, this should be simple but...I need to count the number of characters set in the variable ($summary). My $summary variable takes the first 500 characters from another variable $text. Sometimes $text might be less than 500 characters so I need to count the number of characters that actually end up in the variable $summary.
This is how I get the summary variable...
Back to
Seekers of Perl Wisdom
|
|