.Net Info
Thursday, September 15, 2011
How to Capitalize the First Letter of All Words in a string in C#
using System.Globalization;
TextInfo UsaTextInfo = new CultureInfo("en-US", false).TextInfo;
string capitalized = UsaTextInfo.ToTitleCase("asp.net simply rocks!!!");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment