Problem Solving, Compare 2 Strings???

Hey, I'm trying to have a program that Will have two Text Boxes for the user to enter Strings, Then a command Button to compare the two Strings.      And have a label Giving back information sayign that Text1 is Less than text2 or vice versa???, It's another Newbie Question, and my problem solving skills are working today
LVL 1
infiniteloopAsked:
Who is Participating?
 
mark2150Connect With a Mentor Commented:
iff(ucase( text1.text ) > ucase( text2.text ), ..., ...)

happy now?
0
 
mark2150Commented:
You can do < and > on strings. Suggest that you drive them to uppercase before comparison.

if ucase( text1.text ) > ucase( text2.text ) then ...


0
 
janeaustenCommented:
why don't you just use  the strcomp function?
0
 
infiniteloopAuthor Commented:
Only using the statement IFF
not IF, THen, Else statements


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.