Kreatorul Posted May 6, 2007 Share Posted May 6, 2007 Hello guys...long time since i used autoit...i need help: I want to set a number for a letter, I mean if it finds a letter in a string then find the number wich coresponds to that letter and add with with something. I have to set a number for each letter but I don't know how to do that...and then if it finds the letter in the string let's say it will show a MessageBox with the number set to corespond with that letter....hope you get it i'm bad at explaining...10x for reading Link to comment Share on other sites More sharing options...
Kip Posted May 6, 2007 Share Posted May 6, 2007 StringReplace? MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
Kreatorul Posted May 6, 2007 Author Share Posted May 6, 2007 It suits my need but it's gonna take a loooot of time to finish my project anyway 10x i knew i was blind Link to comment Share on other sites More sharing options...
1905russell Posted May 6, 2007 Share Posted May 6, 2007 Hello guys...long time since i used autoit...i need help: I want to set a number for a letter, I mean if it finds a letter in a string then find the number wich coresponds to that letter and add with with something. I have to set a number for each letter but I don't know how to do that...and then if it finds the letter in the string let's say it will show a MessageBox with the number set to corespond with that letter....hope you get it i'm bad at explaining...10x for reading How about:StringInStr()IniReadSection(LettersToNumbers.ini,MyConversionTable)- assuming you want your own unique numbers or else you could use Asc()"and add with with something". ??? whats adding to what numbers, strings?The above will give you all the variables you need to display in the MsgBox() 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