in reply to Chomping most of a _long_ text string
# Find the mark. $str =~ /_{70}/ and substr($str, 0, $+[0], ''); # Replace everything up to right after # the match with the empty string.
ihb
See perltoc if you don't know which perldoc to read!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Chomping most of a _long_ text string
by ysth (Canon) on May 29, 2005 at 17:10 UTC | |
by ihb (Deacon) on May 29, 2005 at 18:29 UTC |