Hello,

I have a database that has repeated observations on a single variable. The problem is that the variable is a string type. I would like to develop a program in which it takes for example the first obs of the variable, then compare it to all the others and in the case that it is repeated the program could erase all but one, so there is just one and not a lot of repeated variables

Something like this:

var x
1 SAN JAVIER
2 SAN JAVIER
3 MATEGUA
4 OROBAYAYA
5 SAN JAVIER
6 OROBAYAYA
7 SUCRE