Skip to content
Prev 18345 / 63424 Next

strsplit ignores empty fields (PR#8271)

Full_Name: Tim Beissbarth
Version: 2.2.0
OS: Windows
Submission from: (NULL) (193.174.58.254)


strsplit ignores empty strings at the end.
[[1]]
[1] ""  "a"

This should really give:
[1] ""  "a"  ""

Some might say this is a feature, but strsplit should be the reverse of paste, I
think.