[Rd] strsplit (PR#424)

jlindsey@alpha.luc.ac.be jlindsey@alpha.luc.ac.be
Tue, 8 Feb 2000 12:58:05 +0100 (MET)


In R.99, when you strsplit with a space (split=" ") as separator and
the string contains two consecutive spaces, "" is returned.

strsplit("  "," ")
returns
[[1]]
[1] "" ""
whereas it used to return character(0)
  Is this really useful like this?? It certainly messes all my code up. Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._