04-14-2016 09:59 PM
I have the follwoing dataset and I want to retrieve the observations where variable CODE has 3 or 4 in its fourth position. can someone write the code for me please. Thanks.
input ID CODE$ 7.;
05-18-2016 02:48 PM
05-18-2016 02:55 PM
Use length(var1) to find the length of a variable and the corresponding last character
or use Reverse function and take the first character.
Need further help from the community? Please ask a new question.