An easy way to make a string title case.
public static string TitleCase(string strText)
{
return new CultureInfo("en").TextInfo.ToTitleCase(strText.ToLower());
}
Friday, 12 October 2007
Subscribe to:
Post Comments (Atom)
A .NET / C# / New technology blog.
No comments:
Post a Comment