Extract Brazilian CNPJ Root

This function extracts the first eight digits of a Brazilian CNPJ by removing periods (.
) and then returning the leftmost 8 characters from the cleaned string.
How to use:
To use this function, pass a CNPJ value (usually a string) as the input. For example:
ExtraiRaiz("12.345.678/0001-95")
No details available.
More Snippets from this Author
Page 1 of 0
Loading...
Loading...