Convert String into Title Case


To convert a string into title case, use the following code

System.Globalization.TextInfo objTextInfo = new System.Globalization.CultureInfo("en-US").TextInfo;
objTextInfo.ToTitleCase(sString.ToLower());

Gopikrishna

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment