We have a string like this "kannafromsalembut" ,from this i
want to get only "fromsal" (but one condition with out
using substring function)here we can not use scan because in
the given string there is no delimeter? so give ans without
out using substring ?
Answer Posted / ram kumar
data _null_;
file print;
tranw=tranwrd('kannafromsalembut','kanna',' ');
tranw1=tranwrd(tranw,'embut',' ');
tranw2=strip(tranw2);
put tranw2= ;
run;
this will give your required output. that is tranw2=fromsal.
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
How will you generate test data with no input data?
what is factor analysis? : Sas-administrator
What is SAS? What are the functions does it performs?
Explain data step in SAS
where are dashboard components are created and maintained? : Sas-bi
what other sas products have you used and consider yourself proficient in using? : Sas programming
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
What system options would you use to help debug a macro? : sas-macro
Explain how merging helps to combine data sets.
Explain proc univariate?
What are the features of base sas system?
Name some categories in sas 9? : sas-grid-administration
Explain the purpose of substr functions in sas programming.
how do you debug and test your sas programs? : Sas programming
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager