in reply to searching backwards in a string
For a regular expression way to do it, how about:
while($text =~ /(.{0,80})\s+/g) { # result in $1 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: searching backwards in a string
by Anonymous Monk on Jun 13, 2000 at 16:06 UTC | |
by nuance (Hermit) on Jun 13, 2000 at 16:49 UTC | |
by plaid (Chaplain) on Jun 14, 2000 at 20:58 UTC | |
|
RE: Re: searching backwards in a string
by Anonymous Monk on Jun 14, 2000 at 03:36 UTC |