Hello to everyone; please help me to write a program to Take n’th character from n’th word and keep in separate variables using arrays.
Take n’th character from n’th word and keep in separate variables
There is a string, for example, "I had been caught going through a traffic light on the change." and there is necessary to keep every letter as a variable, for example var1 var2 var3 var4 and so on till the end.
I h a d
What will you do after you have this likely to be obnoxious number of variables?
SAS is headed back to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team.
Interested in speaking? Content from our attendees is one of the reasons that makes SAS Innovate such a special event!
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.