Description Usage Arguments Value Examples
strwrap()
in base wraps at word boundaries. cqc_exact_wrap()
is
for when wrapping at the exact width is needed.
1 | cqc_exact_wrap(some_text, width = 80)
|
some_text |
A string. (i.e. character vector of length 1) |
width |
The character width to wrap at |
A string wrapped at exactly width
intervals
1 2 3 | x <- cqc_exact_wrap("abcde", 2)
x
cat(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.