[R] Searching within a ch. string
Luc Villandre
villandl at dms.umontreal.ca
Mon May 11 16:16:05 CEST 2009
Hi Ron,
Look up the grep() function.
Cheers,
--
*Luc Villandré*
/Biostatistician
McGill University Health Center -
Montreal Children's Hospital Research Institute/
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?
>
> Regards,
>
//
More information about the R-help
mailing list