strsplit(x,split)
strsplit
takes two arguments. A character vector to split, x
, and a
character string, split
, to use as splits (this can also be a vector).
It returns a list each element of which contains the vector of splits.
paste
, nchar
, substr