Sign in to follow this  
Followers 0
Iuli

Help with strings

5 posts in this topic

Hi,

As some of you may know, i'm quite new to AutoIT. What i want to do is to take a single letter ( the first one) from a string, but i don't know how. It may sound stupid and foolish but after searching trough help file, i could't find any way to do this. Some help will be greatly appreciated.


[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]

Share this post


Link to post
Share on other sites



$string = "abcdef"

$firstletter = StringLeft($string, 1)

Share this post


Link to post
Share on other sites

Maybe: StringLeft($var,1) ?

<_<

Maybe!

Share this post


Link to post
Share on other sites

Thank you guys !


[size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]

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