my $chars = $str_no_dash; my $final_string = $str_with_dash; $final_string =~ s{[^-]}{substr($chars,0,1,'')}ge;
Dave.
In reply to Re: How can I do this action WITHOUT split?
by dave_the_m
in thread How can I do this action WITHOUT split?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |