R/caracteR.R

Defines functions txt_ordenar txt_orden txt_concatenar txt_titulos txt_mayusculas txt_minusculas txt_reemplazar_todo txt_reemplazar txt_limpia_espacios txt_truncar txt_alinear txt_largo txt_extrae_patron txt_subconjunto_patron txt_extrae_caracteres txt_cuenta_patron txt_ubica_patron txt_identifica_patron txt_detecta_patron

txt_detecta_patron <- function(...) {stringr::str_detect(...)}

txt_identifica_patron <- function(...) {stringr::str_which(...)}

txt_ubica_patron <- function(...) {stringr::str_locate(...)}

txt_cuenta_patron <- function(...) {stringr::str_count(...)}

txt_extrae_caracteres <- function(...) {stringr::str_sub(...)}

txt_subconjunto_patron <- function(...) {stringr::str_subset(...)}

txt_extrae_patron <- function(...) {stringr::str_extract(...)}

txt_largo <- function(...) {stringr::str_length(...)}

txt_alinear <- function(...) {stringr::str_pad(...)}

txt_truncar <- function(...) {stringr::str_trunc(...)}

txt_limpia_espacios <- function(...) {stringr::str_trim(...)}

txt_reemplazar <- function(...) {stringr::str_replace(...)}

txt_reemplazar_todo <- function(...) {stringr::str_replace_all(...)}

txt_minusculas <- function(...) {stringr::str_to_lower(...)}

txt_mayusculas <- function(...) {stringr::str_to_upper(...)}

txt_titulos <- function(...) {stringr::str_to_title(...)}

txt_concatenar <- function(...) {stringr::str_c(...)}

txt_orden <- function(...) {stringr::str_order(...)}

txt_ordenar <- function(...) {stringr::str_sort(...)}
raimun2/oRden documentation built on Jan. 28, 2022, 12:47 a.m.