Displaying 1 result from an estimated 1 matches for "mystrsplit".
Did you mean:
g_strsplit
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help,
This one is probably a piece of cake for regexp masters. I'd like to split
a character vector (for simplicity, say of length one for now) that contains
fields that are delimited by arbitrary number of white spaces (e.g., " a b
c "). How do I get the character vector that contain the fields? In the
example I gave, I've tried:
> strsplit(" a b c