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 Oct. 1, 2024, 2:18 p.m.