break_word: Break a character string into two lines based on a specified...

View source: R/text.R

break_wordR Documentation

Break a character string into two lines based on a specified maximum length

Description

Break a character string into two lines based on a specified maximum length

Usage

break_word(x, max.len)

Arguments

x

character string

max.len

maximum length of the first line

Examples

break_word("a super package", 3)
break_word("a super package", 9)

jsta/rjsta documentation built on June 7, 2022, 8:39 p.m.