473,221 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 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 9024
*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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: f | last post by:
Suppose I have a xml <class> <Name>Good</Name> <Name>bad</Name> </class> I hava the xsl <xsl:template match="Class">
4
by: Dwight | last post by:
Hi all, How do you capitalize the first letter of each word in a field. I can format the field to UPPER case the last name of a person, but I can't UPPER case just the first letter of each name....
2
by: simonmarkjones | last post by:
Is there a simple way to capatalise the first letter of every word typed into a textbox on a form. Someone told me to use "Proper" but not sure if this is correct or how and where to use it. ...
1
by: kids_pro | last post by:
Hi there, I want to capture the last key press in a textBox. So I decided to use KeyDown event and from the KeyEventArgs I read the e.KeyCode But when I type small letter the e.KeyCode always...
3
by: shapper | last post by:
Hello, How can I make the first letter of a string to be upper case and all the others lower case? Thanks, Miguel
2
by: setabery | last post by:
When entering a value to a field, is there a way to make only the first letter upper case without using the Shift Key? For example, entering a name.
14
by: fniles | last post by:
In VB.NET 2005 can I check if a letter in a string is upper case or lower case ? For example: I have the following 2 lines: NQ,Z2003,11/11/2003,1416.5,1420,1402,1411.5...
5
by: Rotor | last post by:
Okay I know how to upper case the first word. However, how do I make it so first letter of each word in the same field is capitalized? Thxs.
3
by: majorecono | last post by:
What I'm bad at is the dialog box part. This is the code Ive come up with... if you see a way to improve what im thinkng of.... post it please. Program should.... 1. Ask user to type in a...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.