title: Trying to convert a number prefixed with a non-numeric character into the number itself in MIPS
body: <p>I have the following string, "Q123" and would like to convert it to the number 123 in MIPS, but I am not sure how to do so.</p>
  
  <p>I have loaded the string into the register t0,</p>
  
  <pre><code>li $v0, 8 #read a string into a0
  la $a0, input1
  la $t0, $a0
  syscall
  </code></pre>
  
  <p>But I am not sure how to remove the first character from a string and then save it to one of the t registers in qtSPIM.</p>