[R] Searching 1st number within a ch. string

RON70 ron_michael70 at yahoo.com
Fri Sep 11 15:02:10 CEST 2009


Hi all,

Is there any process to conduct a search for a particular digit or letter in
a ch. string? For example I want to make a search where 1st numeric figure
appears in the string "asd123". Here the answer should be "4"

Thanks,
-- 
View this message in context: http://www.nabble.com/Searching-1st-number-within-a-ch.-string-tp25400580p25400580.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list