Skip to content
Back to formatted view

Raw Message

Message-ID: <20051202212212.70357.qmail@web31601.mail.mud.yahoo.com>
Date: 2005-12-02T21:22:12Z
From: Srinivas Iyyer
Subject: Character operations, strsplit()
In-Reply-To: <43909BF7.8000501@ozemail.com.au>

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