public static string Clear(string text) { text = TextoHelper.ObterNumeros(text); if (string.IsNullOrEmpty(text)) { return(""); } return(text); }
public static string Clear(string cnpj) { cnpj = TextoHelper.ObterNumeros(cnpj); if (string.IsNullOrEmpty(cnpj)) { return(""); } return(cnpj); }