Convert a string to Proper Case
===========================
// Use this Namespace
using System.Globalization;
// Code
string myString = "jEssE PaTricio-jR";
TextInfo TI = new CultureInfo("en-US",false).TextInfo;
Response.Write (TI.ToTitleCase( myString ));
Friday, September 12, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment