Am 31.03.2011 19:31, schrieb array chip:
Hi, I am stuck on this: how to specify a match pattern that means not
to include "abc"?
I tried:
grep("^(abc)", "hello", value=T) should return "hello".
> grep("[^(abc)]", "hello", value=T)
[1] "hello"
HTH,
Bernd
______________________________________________
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.