Hi all, I want to remove 1st two Character from a string i.e "MX2312323". I want to remove 'MX'. How i will do that. Please help me out
Look up the SUBSTR function in SAS Help.
Something like this will work
newvalue = substr(oldvalue,3);
Look up the SUBSTR function in SAS Help.
Something like this will work
newvalue = substr(oldvalue,3);
Thank You.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.