DATA Step, Macro, Functions and more

SAS/BASE

Reply
Not applicable
Posts: 0

SAS/BASE

I have one dataset that is having 100 records in that variable names are empname empsalary now i want to eliminate last 2 characters of name variable value from every record? Can any one give clear example for the same?
Not applicable
Posts: 0

Re: SAS/BASE

Posted in reply to deleted_user
Read the documentation for the "substr" function
Ask a Question
Discussion stats
  • 1 reply
  • 149 views
  • 0 likes
  • 1 in conversation