Sign in to follow this  
Followers 0
Fetret

Getting all the letter in an Input Box

3 posts in this topic

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!

Share this post


Link to post
Share on other sites



#include <array.au3>

$text = 'Hello'
$array = StringSplit($text,'')
; $array[0] = 5 --> number of chars
_ArrayDisplay($array)
Thanks a lot! That works like a charm!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0