Convert them both to the same case for the comparison. For instance :-
 
dim strVar1
dim strVar2
 
strVar1 = "Mary"
strVar2 = "mAry"
 
if lCase(strVar1) = lCase(strVar2) then
    response.write "Values are the same"
else
    response.write "Values are different"
end if
 
Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Jegatha
Sent: 14 June 2005 06:23
To: Asp
Subject: [AspClassicAnyQuestionIsOk] uppercase & lowercase


Hi friends

how to do uppercase and lowercase comparisin in ASP?

eg:if i give the 1st input as Mary and 2nd input as mAry(mary,maRy,...)
should give the same result.How to do it?

Thankz in Adv.

regards,
Jegatha

            
---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam
protection for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



________________________________

Yahoo! Groups Links


*       To visit your group on the web, go to:
        http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
          
*       To unsubscribe from this group, send an email to:
        [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
          
*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to