format first name from -john- to -John- ?

R

RN

I'm trying to fix user inputed names to proper case. People love to enter
their names in all lower case or all upper, etc. I remember reading
somewhere that there is an easy way in the framework to convert name fields,
first and last, to proper case. I forgot the name of that case syntax, but
basically where you make sure to capitalize the first letter of someone's
first and last name, fix all capital letters ("JOHN" > "john"), etc.

Can someone point me in the right direction please?

Also, is there a way in your solution to not screw up names that should have
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top