tidyverse / stringr

A fresh approach to string manipulation in R
https://stringr.tidyverse.org
Other
603 stars 187 forks source link

add sep argument to str_dup #564

Closed edward-burn closed 1 month ago

edward-burn commented 2 months ago

closes #487

Adds a sep argument to str_dup. Becasue this is not supported by stri_dup, do separately and use lapply to go through strings.

edward-burn commented 1 month ago

@hadley thanks for your review (and adding some nice comments in amongst the requested changes 😄). I have left a few comments above.