ASP.NET C# capitalize the first letter of a string
using System.Globalization;
..
..
..
..
..
string ManipulatedString= CultureInfo.CurrentCulture.TextInfo.ToTitleCase("OriginalString");
Achievement provides the only real pleasure in life
using System.Globalization;
..
..
..
..
..
string ManipulatedString= CultureInfo.CurrentCulture.TextInfo.ToTitleCase("OriginalString");
Posted by SF at 5:34 pm
Labels: ASP.NET, C#, capitalize first letter, titlecase
No comments:
Post a Comment