[R] String Manipulation in R

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Tue Jun 12 17:15:41 CEST 2012


?grepl

Note that this function uses regular expressions, in which certain characters have special meanings, so depending on what string you are looking for you may have to know something about regex patterns to get it to work.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

anjali <jeeviram at gmail.com> wrote:

>Hi ,
>Is there any inbuilt functions  to check whether a substring is present
>in a
>string and give the result as boolean 
>Thanks 
>
>
>--
>View this message in context:
>http://r.789695.n4.nabble.com/String-Manipulation-in-R-tp4633104.html
>Sent from the R help mailing list archive at Nabble.com.
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list