title: splitting a number and storing in int array
body: <p>Is there a way to split a number and store digits in an int array?</p>
  
  <p>I am looking for a way to remove some digits from a number (for a divisible algorithm proof).</p>
  
  <p>for example, if I have a number 12345, I need to perform this operation:</p>
  
  <p>1234 - 5 = 1229</p>
  
  <p>Is there a way to do this?</p>