Wednesday, December 1, 2010

Convert String In Title Case C#


string s = "This is a test";
s = System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(s.ToLower())

No comments:

Post a Comment

Followers

Visitor No

click for free hit counter
Download a free hit counter here.