while($text =~ /(\b.{0,78}\b)/g){
push @array, $1;
}
-Original Message-
From: Oliver Andrich
To: [EMAIL PROTECTED]
Sent: 3/22/02 2:46 PM
Subject: Regex or code sample to split a text line
Hi,
I am currently stuck with developing an elegant solution for splitting a
long text line
Hi,
I am currently stuck with developing an elegant solution for splitting a
long text line into an array of strings of the certain maximum length and
it should be split at online at word bounderies. So, my criterias are max
length (78 chars) and split at \b.
Is there any standard routine to