I have numbers like 1100, 1002, 1022 etc. I would like to have the individual digits, for example for the first number 1100 I want to have 1, 1, 0, 0.
How can I get
Why don't you do:
String number = String.valueOf(input); char[] digits = number.toCharArray();