↑ Grab this Headline Animator

Tuesday, August 19, 2008

How to convert a sentence into Title Case (Capitalize first character of every word)?

Use ToTitleCase method.

System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(" is a very good website");

The output will be

Dotnet-Interviews.Blogspot.Com Is A Very Good Website

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles