Jump to content

Recommended Posts

Posted (edited)

sigh forget it im like searchretarded i couldn't find it in the helpfile but i found it stringisupper

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

Posted

$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

Posted

$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
yea 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]

Posted (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 by ResNullius

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
×
×
  • Create New...