Hi new to STATA and wondering if I could get help answering this question.
I have list that the variables are string called ID that is 7 digits long.
1234567
2534683
8523950
1252973
2572958
I want to generate a new list that contains only the ID that the second digit equals to 5
2534683
8523950
2572958
How do I go about doing this? Hopefully this makes sense