- or download this
DB<111> @a1=split//,$str1
=> ("A", "B", "C", "D", "E")
...
DB<117> (keys %h1, keys %h2)
=> ("A", "O")
- or download this
DB<137> $h{$_}++ for (split//,$str1),(split//,$str2)
=> ""
...
DB<139> grep {$h{$_}==1} keys %h
=> ("A", "O")
- or download this
DB<146> grep {$h{$_}==1} map {$h{$_}++;$_} split//,$str1.$str2
=> ("A", "O")