Код: Выделить всё
str.chars()
.distinct()
.forEach(System.out::println);
< /code>
Это выход: < /p>
97
98
99
100
Подробнее здесь: https://stackoverflow.com/questions/634 ... r-to-ascii
Код: Выделить всё
str.chars()
.distinct()
.forEach(System.out::println);
< /code>
Это выход: < /p>
97
98
99
100