in reply to Re: compare two strings and return only he unique values.
in thread compare two strings and return only he unique values.
Excellent points++! It's evident, however, that the OP's considering the possibility of characters repeating in strings, as shown in the initial posting:
my ($str1, $str2) = ("ABCDE", "BBBBB");
In Section
Seekers of Perl Wisdom