namespace PARR.EsppSync.Helpers
{
///
/// Хелперы для EsppSync
///
public static class EsppSyncHelpers
{
///
/// Првести строку в стандарт сравнения (для сравнения объектов)
///
///
///
public static string Normalize(string? str)
{
if (str == null)
return string.Empty;
str = str.Replace("\r", string.Empty);
str = str.Replace("\n", string.Empty);
str = str.Replace(" ", string.Empty);
return str.ToLower();
}
}
}