How do I get the actual digit from a char? '4'.toI...
# getting-started
a
How do I get the actual digit from a char? '4'.toInt() returns 52 (the ascii code), but how do I actually get 4? Full context: I have a string of integers, but I'm trying to convert it to an intArray