# 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!
In reply to Re: Chomping most of a _long_ text string
by ihb
in thread Chomping most of a _long_ text string
by RupertSw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |