prepareWordBreak: Create word break opportunities (for HTML) using given...

View source: R/utils.R

prepareWordBreakR Documentation

Create word break opportunities (for HTML) using given characters

Description

Create word break opportunities (for HTML) using given characters

Usage

prepareWordBreak(
  str,
  pattern = c(".", "-", "\\", "/", "_", ",", " ", "+", "="),
  html = TRUE
)

Arguments

str

Character: text

pattern

Character: pattern(s) of interest to be used as word break opportunities

html

Boolean: convert to HTML?

Value

String containing HTML elements


nuno-agostinho/cTRAP documentation built on March 28, 2024, 3:59 p.m.