Skip to content
Prev 304259 / 398503 Next

?nchar ?strsplit

(Re-)read ?strsplit. You do not have to tell the code how many columns ... etc.
And the split isn't into sub columns.

y <- as.character(x[[1]] ## You need a character vector argument
strsplit(y,"/") ## works

-- Bert
On Mon, Aug 27, 2012 at 11:40 AM, Sapana Lohani <lohani.sapana at ymail.com> wrote: