prepareWordBreak {cTRAP} | R 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

[Package cTRAP version 1.10.1 Index]