internal static string DecryptServerString(string templateLocator) { string decryptedString = UtilityTools.DecryptString(templateLocator); int separatorIndex = decryptedString.IndexOf('|'); return((separatorIndex >= 0) ? decryptedString.Substring(0, separatorIndex) : decryptedString); }