str_wrap: str_wrap

View source: R/str-utils.R

str_wrapR Documentation

str_wrap

Description

wraping long string to multiple lines

Usage

str_wrap(string, width = getOption("width"))

Arguments

string

input string

width

the maximum number of characters before wrapping to a new line

Value

update strings with new line character inserted

Author(s)

Guangchuang Yu and Erqiang Hu


yulab.utils documentation built on Sept. 20, 2023, 9:06 a.m.