title: How to change a string into integer
body: <p>I have to change a string into integer</p>
  
  <pre><code>var floorname = coll.collider.gameObject.name;   //output:block25
  
  var cur = floorname.Substring(5);    //output: 25
  
  var cu = parseInt(cur);
  </code></pre>
  
  <p>But while giving print(cu); it shows value properly. but with a error FormatException: Input string was not in the correct format System.Int32.Parse (System.String s)</p>
  
  <p>How can i clear this?</p>