Gabriel_Brienza
asked on
How can I make a string to be Sentence Case?
In vb.net you can convert a string to be upper or lower
by using string.toupper or string.toLower
Does anybody know if there is a function that make your string to be sentence case.
Suppose you have a txtSurname text box
and whenever the user input a surname (SMITH) YOU WANT TO TO CONVERT IT TO (Smith)change the first Letter to Capital and remaining to lower.
Any suggestions?
Thanks
Gabriel
by using string.toupper or string.toLower
Does anybody know if there is a function that make your string to be sentence case.
Suppose you have a txtSurname text box
and whenever the user input a surname (SMITH) YOU WANT TO TO CONVERT IT TO (Smith)change the first Letter to Capital and remaining to lower.
Any suggestions?
Thanks
Gabriel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad I could help. I was happy to see that they added this function to VB.
RichW
RichW
ASKER
That was exactly what I was looking for.
Gabriel