ASP Vbscript LCase String Function

Updated on 04 Aug 2008, Published on 04 Aug 2008

Vbscript LCase string function provides the functionality to convert the string to lowercase in ASP web pages. Using vbscript LCase function, you can convert the string containing lower case and upper case letters to lowercase completely. Vbscript LCase function keeps the lowercase characters unchanged and converts the uppercase characters in the provided string to lowercase. Specify the string expression value for vbscript variable and pass the variable to LCase string function to get the string in lowercase.

 

Syntax for ASP Vbscript LCase String Function

LCase( string )

 

LCase function accepts the string type value or vbscript variable having string type value containing both lowercase and uppercase letters that you want to convert into lowercase completely.

 

Examples of ASP Vbscript LCase String Function

 

Example 1

<%

Dim myString

myString = "LCase String Function"

Response.Write(LCase(myString))

%>

 

 

Example 2:

<%

Dim myString

myString = "LCASE STRING FUNCTION"

Response.Write(LCase(myString))

%>

Both above examples of Vbscript LCase string function will return the same output:

lcase string function

 

Vbscript LCase function converts only uppercase letters to lowercase. All other characters such as numeric digits and special characters including punctuation marks remain unchanged. LCase function performs action only on English alphabetical characters.

Click here to learn the ASP Vbscript UCase String Function.

Product Spotlight

Share it
Rate this article:
Email it:
email

0 Responses to "ASP Vbscript LCase String Function"
Leave a Reply

Name   (Required)


Mail   (will not be published) (Required)


Website   (http://www.example.com)




OR Subscribe via Email:

Programming Ezine rss feed
Top54u Ezines