BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
subha_4225
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

Look up the SUBSTR function in SAS Help.

 

Something like this will work

 

newvalue = substr(oldvalue,3);
--
Paige Miller

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

Look up the SUBSTR function in SAS Help.

 

Something like this will work

 

newvalue = substr(oldvalue,3);
--
Paige Miller
subha_4225
Fluorite | Level 6
Thank u...
subha_4225
Fluorite | Level 6

Thank You.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 4 replies
  • 1339 views
  • 2 likes
  • 3 in conversation