[R] Spliting a text

David Winsemius dwinsemius at comcast.net
Wed Aug 4 13:41:41 CEST 2010


On Aug 4, 2010, at 7:04 AM, Megh Dal wrote:

> Hi, I want to split a text to seperate numerical and non-numerical  
> portions of that. For example suppose I have a text "abc 3456" and I  
> want to split in 2 parts like "abc" & "3456".
>
> Is there any function to do that?

?strsplit
?regex

--
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list