stringr icon indicating copy to clipboard operation
stringr copied to clipboard

Endow `str_flatten()` with the power to handle Oxford commas

Open hadley opened this issue 2 years ago • 0 comments

Not sure what to do, but currently

stringr::str_flatten(letters[1:2], ", ", ", and ")
#> [1] "a, and b"

Created on 2022-06-27 by the reprex package (v2.0.1)

hadley avatar Jun 27 '22 15:06 hadley