Jump to content

Separate between capital and small letter


Recommended Posts

  • Moderators

Why AU3 can't separate between capital letter and small letter?

Can you be alot more specific?

Edit:

Something wrong with:

StringIsLower

StringIsUpper

?

Edited 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

  • Moderators

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

  • Moderators

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 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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...