title: How can I extract the first 4 digits from an int? (Java)
body: <p>I'm looking to find a way to convert a string to an int in order to then extract and return the first 4 digits in this int. </p>
  
  <p>Note: It must remain as a String for the other methods to work properly, though.</p>