} // end function public static string GetUpperCamelWord(string text) { var r = from word in CamelWords.GetWords(text) select Strings.Left(word, 1).ToUpper() + Strings.Mid(word, 2).ToLower(); return(string.Join("", r)); } // end function
} // end function public static string GetLowerCamelWord(string text) { var pascal = CamelWords.GetUpperCamelWord(text); return(Strings.Left(pascal, 1).ToLower() + Strings.Mid(pascal, 2)); } // end function