Description Usage Arguments Details Value See Also Examples
Duplicates each string times
times. This is done by
copying the contents of str
at the end of
str
.
1 |
str |
character vector of strings to be duplicated |
times |
integer vector with the numbers of times to duplicate each string |
Vectorized over str
and times
.
Returns a character vector.
Other join: stri_c
, stri_join
,
stri_paste
; stri_flatten
1 2 3 |
[1] "a" "aa" "aaa" "aaaa" "aaaaa"
[1] "aaaa" NA "babababa"
[1] "abcabcabcabc" "pqrstpqrst"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.