BookmarkSubscribeRSS Feed
thanikondharish
Fluorite | Level 6
Data ex;
Name='sas community software';
Run;
How to do like see below
New_name='sa.s . Co.mm.un.it.y .so.ft.wa.re'
5 REPLIES 5
Patrick
Opal | Level 21
data ex;
  name='sas community software';
  length new_name $40;
  new_name=prxchange('s/(..)(?!$)/\1./oi',-1,strip(name));
run;

Capture.JPG

thanikondharish
Fluorite | Level 6
Can you explain prxchange uses

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2094 views
  • 0 likes
  • 4 in conversation