tidyverse / stringr

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

str_split_1 should be equal to `str_split_i(i = 1)` #559

Closed Longfei2 closed 1 month ago

Longfei2 commented 2 months ago

image

According to the help document, str_split_1 should accept the character vector not only single string?

hadley commented 1 month ago

That's what it returns, not what it accepts.