rut_simple: RUT format: Without dots and Hyphen (Sin puntos ni guion)

Description Usage Arguments Value Examples

View source: R/format.R

Description

Changes the format of a RUT to not contain dots or hyphen

Usage

1
rut_simple(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 whitout dots and hyphen

Examples

1
rut_simple('123456789')

Example output

[1] "123456789"

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