Sign in to follow this  
Followers 0
Oalkien

Can I compare text? Possible?

2 posts in this topic

My boss threw me a little piece of work and I figured I might as well try to take it as an opportunity to try out AutoIt a bit. Basically he needs 3 check boxes checked / un-checked and some text changed, and getting this text bit worked out is racking my brain. I have a take an adress from a text-box and capitilize all of it, check for abbreviations like Rd, RD. , St. , ST, and expand them. I've tried using ControlGetText, but I have no idea if it's reading the text correctly or if this can work.

Thanks.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yes you can compare text. $s1==$s2 or StringInStr(...) are two ways.

The explanation of what you want did not make much sense to me. You would probably get better answers if you provide some code.

Edited by Uten

Share this post


Link to post
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
Sign in to follow this  
Followers 0