Re: [R] String Manipulation- Extract numerical and alphanumerical segment

2010-02-05 Thread Su C.
""abcdef-gh" "12" > > [[2]] > [1] "1234567" "z3""abcdef-gh" "12" > > [[3]] > [1] "1234567" "z3""abcdef-gh" "12" > > > y.1 <- s

[R] String Manipulation- Extract numerical and alphanumerical segment

2010-02-05 Thread Su C.
I am currently attempting to split a long list of strings (let's call it "string.list") that is of the format: "1234567.z3.abcdef-gh.12" I have gotten it to: "1234567" "z3" "abcdef-gh" "12" by use of the strsplit function. This leaves me with each element of "string.list" having a split stri