Thanks guys, but I forgot about one the most important thing - I don't want string, just math or binary math
So, for example we have 1234. Now we need get second digit, result should be 2. In my sample I'll get all digits, I need just specified one on specified position in number, not all.