Unique characters in each string: Difference between revisions

Content added Content deleted
(add FreeBASIC)
(Added 11l)
Line 14: Line 14:
{{Template:Strings}}
{{Template:Strings}}
<br><br>
<br><br>

=={{header|11l}}==
{{trans|Python}}

<lang 11l>V LIST = [‘1a3c52debeffd’, ‘2b6178c97a938stf’, ‘3ycxdb1fgxa2yz’]

print(sorted(Array(Set(Array(LIST.join(‘’)))).filter(ch -> all(:LIST.map(w -> w.count(@ch) == 1)))))</lang>

{{out}}
<pre>
[1, 2, 3, a, b, c]
</pre>


=={{header|Action!}}==
=={{header|Action!}}==