Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capitalize #letter #word #string
ADD COMMENT
Topic
Name
4+1 =