Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Need to truncate a long text string
perl_diver - 6:08 am on Jan 16, 2006 (gmt 0)Thread source:: http://www.webmasterworld.com/perl/4349.htm
your question is not at all clear to me, but you can use the length() function to get the length of a string.
my $length = length($text);
Brought to you by WebmasterWorld: http://www.webmasterworld.com