We don't bite newbies here... much | |
PerlMonks |
Re: Re: Re: comparing stringsby petral (Curate) |
on Oct 30, 2002 at 17:52 UTC ( [id://209175]=note: print w/replies, xml ) | Need Help?? |
Of course, if you're using arrays, you just need The following will replace the non-matching chars in the string  $str1 with "*" (and leave the matching chars) by converting $str2 to a regex:
  p
In Section
Seekers of Perl Wisdom
|
|