public static TitleCaseEN ( string text ) : string | ||
text | string | the input text |
return | string |
public static string TitleCaseEN(string text)
{
if (text.ToUpper().Equals(text))
text = text.ToLower();
return (EnglishCultureTextInfo.ToTitleCase(text.Trim()));
}