
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Capitalize 1st letter of string
How can I capitalize only the first letter of a string?
With the capitalize function, all first letters of the words are capitalized, I only want the first wordt to be capitalized.
Regards
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
upper(left(Fieldname,1))&mid(Fieldname,2,len(Fieldname)-1)
or see the attached file

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How you use that function please see the sample
Capitalize ( 'my little pony' ) = My Little Pony
Let me know about this.
Rgds
Anand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its ues like this:
Capitalize(Firstname) as Firstname
Then all firstnames will come out with capital letter.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
See the attached sample file.
HTH
Rgds
Anand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you provide any sample file.
Rgds
Anand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the function capitalize correctly because all words come out capitalized.
BUT
I want the string to come out as this:
My little pony
Only capital M
How can i do this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
upper(left(Fieldname,1))&mid(Fieldname,2,len(Fieldname)-1)
or see the attached file

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is exactly what i'm looking for.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks chauhans85 for this old post. Helped me today.
You can omit the last part of the mid() function to return the rest of the string:
upper(left(Fieldname,1))&mid(Fieldname,2))
