Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q5823 How can I ignore the case of the text I'm getting from the user through a form?

irt.org | Knowledge Base | ASP | Q5823 [ previous next ]

Q5823 How can I ignore the case of the text I'm getting from the user through a form?

Use the VBScript functions Ucase or Lcase (upper or lower case) to return a one-case string.

<%

Dim myText

myText = "HellO."

response.write Lcase(myText) ' RETURNS "hello."

%>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.