Searching within a ch. string
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