Answers for "c# capitalize first letter of each word in a string"

C#
0

c# capitalize first letter of each word in a string

string s = "THIS IS MY TEXT RIGHT NOW";
s = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(s.ToLower());
Posted by: Guest on November-02-2020
0

c# capitalize first letter of each word in a string

string s = "THIS IS MY TEXT RIGHT NOW";

s = System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(s.ToLower());
Posted by: Guest on November-02-2020

Code answers related to "c# capitalize first letter of each word in a string"

C# Answers by Framework

Browse Popular Code Answers by Language