I have lots of variables in an array like this: short num = 7123;. The value is ALWAYS 4 digits long. How to go about turning this into a = 7; b = 123;?
All I can think of is converting to c-string and stripping it off, but doesn’t seem efficient.
1 Answer