MerkurAlex Posted September 25, 2008 Posted September 25, 2008 (edited) sigh forget it im like searchretarded i couldn't find it in the helpfile but i found it stringisupper Edited September 25, 2008 by MerkurAlex [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
ResNullius Posted September 25, 2008 Posted September 25, 2008 $str = InputBox("", "Enter a string, all upper, all lower, or mixed case") If $str == StringUpper($str) Then MsgBox(0, "", 'Your string ' & @CRLF & '"' & $str & '"' & @CRLF & 'was all upper case') Else MsgBox(0, "", 'Your string ' & @CRLF & '"' & $str & '"' & @CRLF & 'was NOT all upper case') EndIf
MerkurAlex Posted September 25, 2008 Author Posted September 25, 2008 $str = InputBox("", "Enter a string, all upper, all lower, or mixed case") If $str == StringUpper($str) Then MsgBox(0, "", 'Your string ' & @CRLF & '"' & $str & '"' & @CRLF & 'was all upper case') Else MsgBox(0, "", 'Your string ' & @CRLF & '"' & $str & '"' & @CRLF & 'was NOT all upper case') EndIfyea i had already said i figured it out... [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
ResNullius Posted September 26, 2008 Posted September 26, 2008 (edited) yea i had already said i figured it out...Yeah, I had opened the post in a tab to reply, was reading a few others, then posted the reply and saw that you had already posted the figured out part. I've got to learn to reply right away Oh, and don't forget the "==" for comparison to make it case sensitive. Edited September 26, 2008 by ResNullius
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