Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Oct 5, 2000

Proper Casing of a Word

Question:
How do I pick out the first letter in a word and convert it to an uppercase?

Answer:
Use this code:

strWord = UCase(Left(strWord,1)) & Mid(strWord,2)
This will convert the word "hello" to the word "Hello."
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap