Try this,
use strict; use warnings; my $string = "Good O'l Time"; $string =~ y/ '/\_/d; print $string;
Regards,
Velusamy R.
In reply to Re: stripping characters from a string
by Samy_rio
in thread stripping characters from a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |