2 Replies Latest reply on Mar 10, 2011 5:48 PM by firesoul7468ollie

    Flash AS3 how do I find out what the 'nth' character in a string is?

    firesoul7468ollie Level 1

      Hey,

       

      i have an input text box, and i want to be able to find out the the 5th charcter inputed was or the 3rd was from what was inputed.

       

      Something like this....

       

      var string1:String = input_txt.character1

      trace(string1)

       

      Hope you can help:)

       

      thanks:)