Thx alot works perfect! //Joel -- View this message in context: http://r.789695.n4.nabble.com/Extract-elements-that-starts-with-tp3046332p3046420.html Sent from the R help mailing list archive at Nabble.com.