str_dup {stringstatic} | R Documentation |
Duplicate and concatenate strings within a character vector
Description
Dependency-free drop-in alternative for stringr::str_dup()
.
Usage
str_dup(string, times)
Arguments
string |
Input character vector. |
times |
Number of times to duplicate each string. |
Value
A character vector.
Source
Adapted from the stringr package.
[Package stringstatic version 0.1.2 Index]