We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Formatando...
Formatter formatter = new NITFormatter(); String unfotmatedValue = "17033259504"; String formatedValue = formatter.format(unfotmatedValue); // formatedValue = "170.33259.50-4";
Removendo formatação...
Formatter formatter = new NITFormatter(); String fotmatedValue = "170.33259.50-4"; String unformatedValue = formatter.unformat(fotmatedValue); // unformatedValue = "17033259504";