Tuesday, May 31, 2022

keep observations if first 2 character of the string is capital letter

I have a dataset where the variable x is a string. I need to keep only observations at which the first 2 characters in the variable x is capital letter. Can anyone tell me how to do it ?

No comments:

Post a Comment