示例#1
0
        private static string UserEmailAdjustment(string oldString)
        {
            string newString = oldString;

            newString = StringAdjustment.RemoveSpaces(newString);
            newString = newString.ToLower();
            return(newString);
        }
        private static string AdjustCarBrandName(string oldString)
        {
            string newString;

            newString = oldString;
            newString = StringAdjustment.RemoveSpaces(newString);
            newString = StringAdjustment.MakeFirstLetterUppercaseTheRestLowercase(newString);
            return(newString);
        }
示例#3
0
 private static string PrepareToCompare(string text)
 {
     text = StringAdjustment.RemoveSpaces(text);
     text = text.ToLower();
     return(text);
 }