cqc_exact_wrap: exactly wrap text at the width specified

Description Usage Arguments Value Examples

Description

strwrap() in base wraps at word boundaries. cqc_exact_wrap() is for when wrapping at the exact width is needed.

Usage

1
cqc_exact_wrap(some_text, width = 80)

Arguments

some_text

A string. (i.e. character vector of length 1)

width

The character width to wrap at

Value

A string wrapped at exactly width intervals

Examples

1
2
3
x <- cqc_exact_wrap("abcde", 2)
x
cat(x)

markdly/conquestr documentation built on May 29, 2019, 5:40 a.m.