rut_complete: RUT format: Dots and Hyphen (Puntos y guion)

Description Usage Arguments Value Examples

View source: R/format.R

Description

Changes the format of a RUT to dots and hyphen

Usage

1
rut_complete(rut, uppercase = FALSE)

Arguments

rut

RUT to modify. It must be a character string

uppercase

Defines if the verification number 'k' should be in uppercase (TRUE) or lowercase (FALSE). By default the value is FALSE

Value

Returns a RUT in dots and hyphen format

Examples

1
rut_complete('123456789')

Example output

[1] "12.345.678-9"

rutifier documentation built on March 2, 2020, 5:09 p.m.