>>>>> "KH" == Kurt Hornik <Kurt.Hornik at
ci.tuwien.ac.at> writes:
KH> What is the quickest way of testing whether a string contains a
KH> certain character? Thanks -k
length(grep(char, string)) > 0
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._