Vladi243 Posted July 8, 2008 Share Posted July 8, 2008 Why AU3 can't separate between capital letter and small letter? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 8, 2008 Moderators Share Posted July 8, 2008 (edited) Why AU3 can't separate between capital letter and small letter?Can you be alot more specific?Edit:Something wrong with:StringIsLowerStringIsUpper? Edited July 8, 2008 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 8, 2008 Moderators Share Posted July 8, 2008 Or are you looking for something like:#include <array.au3> $s_string = "IAmAString" $a_sre = StringRegExp($s_string, "([A-Z][a-z]*)", 3) _ArrayDisplay($a_sre) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vladi243 Posted July 8, 2008 Author Share Posted July 8, 2008 I created a simple example to show you the problem. $i="a" If $i="A" Then MsgBox (4096, "Test", "A") If $i="a" Then MsgBox (4096, "Test", "A") The script can't separate between the "a" and "A". Do you understand what's I mean? I speak English bad, that's why I can't explain my self well. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 8, 2008 Moderators Share Posted July 8, 2008 (edited) I created a simple example to show you the problem. $i="a" If $i="A" Then MsgBox (4096, "Test", "A") If $i="a" Then MsgBox (4096, "Test", "A") Edited July 8, 2008 by SmOke_N Fixed OP lower upper case "a" in second example. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Vladi243 Posted July 8, 2008 Author Share Posted July 8, 2008 (edited) $i="a" If $i=="A" Then MsgBox (4096, "Test", "A") If $i=="a" Then MsgBox (4096, "Test", "A")Ohh... Great! You are the best. Thanks. Edited July 8, 2008 by Vladi243 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