Hi,

I posted yesterday with a problem in a script. I still have the same problem, 
but I think I found a better way to explain my problem.

I have a vector of character strings. Each string is unique, including numbers 
and letters. In the real world they represent a list of codes, so each position 
in the string has a meaning to me. I want to make a subset of the vector using 
"wildcards". So for example, take all the strings that start with 3. 

Any ideas how to do that?

Thanks for any help.



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to