469,358 Members | 1,659 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,358 developers. It's quick & easy.

First letter in upper case

Hi
How to make first letter of word in upper case?

i.e. hello should return Hello

Is there any inbuilt function??

Thanx
dave
Jul 19 '05 #1
4 8705
*dave* wrote:
Hi
How to make first letter of word in upper case?

i.e. hello should return Hello

Is there any inbuilt function??


For presentation or for data? If for presentation you could use a CSS,
but for data you could use for example (JScript):

strData = strData.charAt(0).toUpperCase() + strData.substring(1);
--
Andrew Urquhart
- FAQ: www.aspfaq.com
- Archive: www.tinyurl.com/38kzx (Google Groups)
- My reply address is invalid, use: www.andrewu.co.uk/contact/
Jul 19 '05 #2
Sorry, forgot to tell u I'm looking for VBScript function
dave
-----Original Message-----
*dave* wrote:
Hi
How to make first letter of word in upper case?

i.e. hello should return Hello

Is there any inbuilt function??
For presentation or for data? If for presentation you

could use a CSS,but for data you could use for example (JScript):

strData = strData.charAt(0).toUpperCase() + strData.substring(1);--
Andrew Urquhart
- FAQ: www.aspfaq.com
- Archive: www.tinyurl.com/38kzx (Google Groups)
- My reply address is invalid, use: www.andrewu.co.uk/contact/

.

Jul 19 '05 #3
http://www.aspfaq.com/2299

--
http://www.aspfaq.com/
(Reverse address to reply.)

"dave" <an*******@discussions.microsoft.com> wrote in message
news:20*****************************@phx.gbl...
Hi
How to make first letter of word in upper case?

i.e. hello should return Hello

Is there any inbuilt function??

Thanx
dave

Jul 19 '05 #4
dave wrote:
How to make first letter of word in upper case?

i.e. hello should return Hello


ELEMENT:first-letter { text-transform:uppercase }

http://msdn.microsoft.com/workshop/a...irstletter.asp
http://msdn.microsoft.com/workshop/a...ttransform.asp

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by simonmarkjones | last post: by
3 posts views Thread by shapper | last post: by
2 posts views Thread by setabery | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.