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


yulab.utils documentation built on Sept. 11, 2024, 9:25 p.m.