Hi All,
Can any one tell me if I have numerical value 1234 and Character value ABCD. So how Can I put them in reverse order by writing a Query(Program)?
Explore using the SAS DATA step and particularly the REVERSE function. And for the SAS numeric variable, use the SAS function PUT to convert the number to a character string first, then use the REVERSE function against the character variable representation of your number.
Scott Barry
SBBWorks, Inc.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.