cparadis Posted October 22, 2008 Share Posted October 22, 2008 (edited) I'm a little bit lost today. I have searched in the help file, for something to check if a letter is in a variable. But can't find anything or how i can fix it. Or i'm just too lost. Here is the little example how i want it to do. $ss = CcNntk ;If "c" is in the variable. If c ... $ss Then msgbox("", "", $ss) EndIf I hope someone understand a little bit. Edited October 22, 2008 by cparadis Link to comment Share on other sites More sharing options...
Marlo Posted October 22, 2008 Share Posted October 22, 2008 $ss = "String" If StringinStr($ss, "S") Then MSgBox(0, "", "String found") EndIf Try that Click here for the best AutoIt help possible.Currently Working on: Autoit RAT Link to comment Share on other sites More sharing options...
cparadis Posted October 22, 2008 Author Share Posted October 22, 2008 Ah, There was the command. Thanks so much for your help. 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