Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -0,0 +1,11 @@
|
|||
##
|
||||
var input := |'', '.', 'abcABC', 'XYZ ZYX', '1234567890ABCDEFGHIJKLMN0PQRSTUVWXYZ'|;
|
||||
foreach var s in input do
|
||||
Writeln('''', s, '''', ' (Length ', s.Length, ') ',
|
||||
String.Join(', ',
|
||||
s.Select((c, i) -> (c, i))
|
||||
.GroupBy(t -> t[0])
|
||||
.Where(g -> g.Count() > 1)
|
||||
.Select(g -> '''' + g.Key + '''(0X' + Ord(g.key).ToString('x') + ') [' +
|
||||
String.Join(', ', g.Select(t -> t[1])) + ']')
|
||||
.DefaultIfEmpty('All characters are unique.')));
|
||||
Loading…
Add table
Add a link
Reference in a new issue