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

i.e. hello should return Hello

Is there any inbuilt function??

Thanx
dave

Re: First letter in upper case by Andrew

Andrew
Wed Jun 23 19:31:57 CDT 2004

*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/



Re: First letter in upper case by dave

dave
Wed Jun 23 19:34:17 CDT 2004

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/
>
>
>.
>

Re: First letter in upper case by Aaron

Aaron
Wed Jun 23 19:35:21 CDT 2004

http://www.aspfaq.com/2299

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

"dave" <anonymous@discussions.microsoft.com> wrote in message
news:204b701c4597e$a8eb49c0$a601280a@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



Re: First letter in upper case by Dave

Dave
Thu Jun 24 08:54:29 CDT 2004

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/author/dhtml/reference/properties/firstletter.asp
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/texttransform.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.