title: Cobol substrings; taking a 4 character string and taking the inside 2 characters
body: <p>I have been stuck on this issue for a while now. Help would be much appreciated.</p>
  
  <p>I have a 4 digit number read in from a file and I need to take the inside 2 digits.
  I thought that reading the number in as a string would be a good idea, then take the the middle two digits in a substring and use the numval function to convert them back. Unfortunately, I can't figure out how to obtain the inside two characters.</p>
  
  <p>Ex.
     I have the number 5465, I want to get 46.</p>