private static string FormatName(string name) { if (name == null) { return "NULL"; } CheckNameDoesNotContainSeparator(name); name = name.ToLower(); name = new CultureInfo("en-GB", false).TextInfo.ToTitleCase(name); name = name .Replace("Ccg", "CCG") .Replace("Nhs", "NHS") .Replace("Qpp", "QPP") .Replace("And ", "and ") .Replace(" ", " ") .Replace(" ", " "); return name; }