[R] Character operations, strsplit()
Srinivas Iyyer
srini_iyyer_bio at yahoo.com
Fri Dec 2 22:22:12 CET 2005
Dear group,
could some one help me how i can split a string into
pieces and access them.
For example:
> test = "this is a test"
> typeof(test)
[1] "character"
> strsplit(test,split='is')
[[1]]
[1] "th" " " " a test"
Now I want to get test into : a vector and another
object as list
Also, could you please point out some good tutorials
on character manipulations.
Thank you.
__________________________________________
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the R-help
mailing list