Description Usage Arguments Value See Also Examples
Duplicate a character string n times.
1 | dup(x, n)
|
x |
Input character string. |
n |
A numeric vector (number of times to duplicate). |
A character string.
Other string-utils: blanks
,
pad
, replace_ext
,
split_path
, strip_ext
,
strsplitN
, trim
,
wrap
1 | dup("#", 1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.