Hello,
I would like to convert first letter into Upper case and rest is lower case.
For example:
Before | After | |
1 | APPLE | Apple |
2 | banana | Banana |
3 | LeMoN | Lemon |
I could use text to column tool and separate the first letter and the rest of letters. And I convert the first split into upper case, then the second split into lower case. Then combine them together. However, I am wondering if there is simpler way to convert the fist letter into Upper case at once.
Sincerely,
Kazumi
Solved! Go to Solution.
Titlecase([Before])
That should work.
I would use the following Expression...
Uppercase(Left([Data], 1)) + Lowercase(Substring([Data],1,100))
The "100" at the end should be the maximum length of the string.
Dang, I make things so complicated. ;-p
I always forget about the TitleCase() function.
titlecase() is definitely the way to go here, but we could also make RodL's formula dynamic (rather than stating the number of characters) by doing the following...
uppercase(left([Data],1)) + lowercase(right([data],length([data])-1))
I would like to suggest our new online case converter.
Why would we use a third-party web-app over just a formula?
Super useful, I've used this work around to get Sentence case. Title case is no good to me.
On one-word expressions, both would return the same result.
However, Title Case will capitalize the first letter of every word.
The formula proposed however is closer to sentence case, in which only the 1st letter of the sentence is capitalized.
So both options are correct, depending on your context.
For the formula option, be sure you do not have leading spaces...