in reply to Matching or masking specific characters in an array of strings
Produces: --ll-my $x1 = "hello" ; my $x2 = "balln" ; $x1 =~ s/[^$x2]/-/g ; print $x1 ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching or masking specific characters in an array of strings
by duggles (Acolyte) on Dec 19, 2008 at 14:38 UTC |