yeah, that's also working well, thanks! -- View this message in context: http://r.789695.n4.nabble.com/any-function-in-R-similar-to-the-scan-function-in-SAS-tp2131264p2132750.html Sent from the R help mailing list archive at Nabble.com.