# String to Intiger

**URL:** <https://forum.kirupa.com/t/string-to-intiger/287086>\
**Category:** flash\
**Created:** [April 25, 2009, 9:48pm UTC](https://forum.kirupa.com/t/string-to-intiger/287086 "2009-04-25T21:48:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakycool](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@chakycool](https://forum.kirupa.com/u/chakycool)\
**Post date:** [April 25, 2009, 9:48pm UTC](https://forum.kirupa.com/t/string-to-intiger/287086/1 "2009-04-25T21:48:56Z")

</div>

Can some one help me out.  
I’m loading a external text file to flash and according to the number present in the text file i’m trying to do a IF - ELSE command. It’s not working coz the value I load from the external file is string. How can i get this as intiger.
