Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | ASP | Q5823 [ previous next ]

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."

%>

©2018 Martin Webb