str_wrap_hyphenate: Wraps texts using hyphenation

View source: R/string_tools.R

str_wrap_hyphenateR Documentation

Wraps texts using hyphenation

Description

Wraps texts using hyphenation

Usage

str_wrap_hyphenate(text, max_length, dictionary = "nl_NL",
  html_format = FALSE)

Arguments

text

The text you want to wrap

max_length

The maximum length a string may have

dictionary

The dictionary language used for hyphenation

html_format

Indicate whether you want <br> new lines

Value

String wrapped with newline characters

Examples

str_wrap_hyphenate(tbl_SBI$description_SBI, 25)

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.