search for: zfhjkz

Displaying 1 result from an estimated 1 matches for "zfhjkz".

2011 May 20
1
grep pattern
Hi all, I'm trying to subset a pattern in a vector. Each argument has 6 letters, and I need those that start with Z and end with Z. e.g. x <- c("ZFHSJK", "ZFHJKZ","ZIOPWE","ZLKJSD","ZKFLPZ") I've looked up other discussions but still can't seem to find the answer. Thanks. Kangmin