Hi all,

Is there a way to do it?
For example:

> x
"foo" "bar" "bar2" "qux"

is there a function to return TRUE/FALSE
given a test variable

> func("foo")
TRUE

> func("GUNDALA")
FALSE

Is there such "func" in R?

- Gundala Viswanath
Jakarta - Indonesia

______________________________________________
R-help@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.

Reply via email to