I\'m looking for a function to convert a string of text that is in UpperCase to SentenceCase. All the examples I can find turn the text into TitleCase.
<
public string GetSentenceCase(string ReqdString) {
string StrInSentCase = "";
for (int j = 0; j < ReqdString.Length; j++) {
if (j == 0) {
StrInSentCase = ReqdString.ToString().Substring(j, 1).ToUpper();
}
else {
StrInSentCase = StrInSentCase + ReqdString.ToString().Substring(j, 1).ToLower();
}
}
return StrInSentCase.ToString();
}