[R] Searching within a ch. string
    Duncan Murdoch 
    murdoch at stats.uwo.ca
       
    Mon May 11 16:18:53 CEST 2009
    
    
  
On 5/11/2009 10:07 AM, RON70 wrote:
> Hi all, is there any function to find some words in a character-string? For
> example suppose the string is : "gdfsa-sdhchc-88", now I want to find
> whether this string contains "sdhch". Is there any R function to do that?
See ?grep.  There are several functions described there, with different 
outputs.
Duncan Murdoch
    
    
More information about the R-help
mailing list