substr(). One of the nifty aspects of Perl is that substr() can act as an LVALUE. That is, you can assign into it.
perldoc -f substr for details.
In reply to Re: Pattern Matching and replacement
by dws
in thread Pattern Matching and replacement
by Feral_Shade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |