[thelist] Perl string help

Amy Johnson amy at rocky-hills.com
Mon Feb 12 23:29:45 CST 2007


Can anyone help me with a Perl string function?  I need to take the text
from a textarea and split the string at the last blank space before 250
characters.  So if I have a 1000 character string, it would be cut into
about 4 or 5 strings at spaces between words.
 
Any Perl gurus out there?
 
Thanks,
Amy
 



More information about the thelist mailing list