[R] strsplit

Edna Bell edna.bell01 at gmail.com
Mon Oct 22 07:43:52 CEST 2007


Hello R Gurus:

I would like to take a character string and split at the $ sign.

I thought that strsplit would do it, but here are the results:

> vv
[1] "whine$ts1"
> vv
[1] "whine$ts1"
> strsplit(vv,"$")
[[1]]
[1] "whine$ts1"


Does anyone have any suggestions, please?

Thanks,
Edna Bell



More information about the R-help mailing list