Search DaTutorials:  
HOME
ASP Tutorials
Introduction
Reference
   Building ASP Pages
   Built-in Objects
Tutorials

Uppercase / Lowercase a string

Description:


How to upercase or lowercase strings using ASP and VB Script.

Code:

<html> <body> <%
str = " b "
Response.Write("a" & str & "c<br />")
Response.Write("a" & Trim(str) & "c<br />")
Response.Write("a" & LTrim(str) & "c<br />")
Response.Write("a" & RTrim(str) & "c")
%> </body> </html>

See working example:


Keywords:

ASP: Response.Write

VBScript: UCase, LCase


     Wikipedia | Loans | Loans | Loans | Personal Loans
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp