[R] strsplit
Moshe Olshansky
m_olshansky at yahoo.com
Mon Oct 22 07:50:44 CEST 2007
Try
strsplit(vv,"$",fixed=TRUE)
--- Edna Bell <edna.bell01 at gmail.com> wrote:
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>
More information about the R-help
mailing list