Description Usage Arguments Value Examples
Validates a Chilean RUT. The input must be a character string in one of the following formats: RUT with dots and hyphen (Ex. '12.345.678-9'), RUT without dots but with hyphen (Ex. '12345678-9') or RUT without dots and hyphen (Ex. '123456789')
1 | validate_rut(rut)
|
rut |
Character str |
Returs TRUE if RUT is valid, else it will return FALSE
1 2 3 | validate_rut('123456789')
validate_rut('12345678-9')
validate_rut('12.345.678-9')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.