connect_text: Clean and connect parts of text together

View source: R/utilities.R

connect_textR Documentation

Clean and connect parts of text together

Description

Clean and connect parts of text together

Usage

connect_text(txt, connections = "[^a-zA-Z0-9]", connector = "_")

Arguments

txt

String charactors

connections

Characters to be replaced by connector

connector

Charactor used as connector

Value

cleaned text

Examples

## Not run: 
connect_text("THIS - is complex (very bad)")
## End(Not run)


USAID-OHA-SI/glamr documentation built on July 6, 2024, 6:39 a.m.