Skip to content
Back to formatted view

Raw Message

Message-ID: <4A083325.7040108@dms.umontreal.ca>
Date: 2009-05-11T14:16:05Z
From: Luc Villandre
Subject: Searching within a ch. string
In-Reply-To: <23484010.post@talk.nabble.com>

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,
>   
//