471,825 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,825 software developers and data experts.

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 8885
*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
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.