public string GetRatingInitials(string text) {
string[] Words = text.Replace('-', ' ').Split(' ');
if (Words.Length == 0)
return "";
else if (Words.Length == 1 && Words[0].Length > 4)
return text.Substring(0, 3);
else if (Words.Length == 1)
return Words[0];
else {
// Several words, return the first letter of each word.
return new string(Words.Select(w => w[0]).ToArray()).ToUpper();
}
}