Iuli Posted October 29, 2007 Share Posted October 29, 2007 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] Link to comment Share on other sites More sharing options...
weaponx Posted October 29, 2007 Share Posted October 29, 2007 $string = "abcdef" $firstletter = StringLeft($string, 1) Link to comment Share on other sites More sharing options...
Developers Jos Posted October 29, 2007 Developers Share Posted October 29, 2007 Maybe: StringLeft($var,1) ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
weaponx Posted October 29, 2007 Share Posted October 29, 2007 Maybe: StringLeft($var,1) ? Maybe! Link to comment Share on other sites More sharing options...
Iuli Posted October 29, 2007 Author Share Posted October 29, 2007 Thank you guys ! [size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent] 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