Explore .Net (C#,VB.NET,ASP.NET,Sqlserver) with Ashwani Rana
Wednesday, March 11, 2009
.NET- Convert a String to Title Case
Namespace :
using System.Globalization;
Code:
CultureInfo.CurrentCulture.TextInfo.ToTitleCase
("The quick brown fox JUMPS over the lazy dog.")
* Outputs "The Quick Brown Fox JUMPS Over The Lazy Dog."
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment