Beispiel #1
0
        public static string Clear(string text)
        {
            text = TextoHelper.ObterNumeros(text);

            if (string.IsNullOrEmpty(text))
            {
                return("");
            }

            return(text);
        }
Beispiel #2
0
        public static string Clear(string cnpj)
        {
            cnpj = TextoHelper.ObterNumeros(cnpj);

            if (string.IsNullOrEmpty(cnpj))
            {
                return("");
            }

            return(cnpj);
        }