You can use some tricky logic, one of them can be as below, try it:
private string SetNormalCase(string Data)
{
return Data.Substring(0,1).ToUpper() + Data.Substring(1).ToLower();
}
Test it with the below line:
Response.Write(SetNormalCase("MICHAEL"));
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|