Fetret Posted June 19, 2008 Share Posted June 19, 2008 Hello! I am pretty new to AutoIt, but from what I was able to make, I fell in love with it! Now my question is: Is there a way to put all the letters of an input to an input box in an array as seperate entities? For example "fetret" would be arr[1] = f, arr[2] = e, arr[3] = t etc...? Thanks! Link to comment Share on other sites More sharing options...
Zedna Posted June 19, 2008 Share Posted June 19, 2008 #include <array.au3> $text = 'Hello' $array = StringSplit($text,'') ; $array[0] = 5 --> number of chars _ArrayDisplay($array) Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Fetret Posted June 19, 2008 Author Share Posted June 19, 2008 #include <array.au3> $text = 'Hello' $array = StringSplit($text,'') ; $array[0] = 5 --> number of chars _ArrayDisplay($array) Thanks a lot! That works like a charm! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now