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 / abcds
data _null_;
file print;
tranw = tranwrd('kannafromsalembut','kanna',' ');
tranw1 = tranwrd(tranw,'embut',' ');
tranw2 = strip(tranw1);
put tranw2= ;
run;
this is the correct one.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How does the internal authentication work in sas? : sas-grid-administration
How do you use the do loop if you don’t know how many times you should execute the do loop?
how to do user inputs and command line arguments in sas?
What are the 3 components in sas programming?
What are pdv and it functions?
where are dashboard components are created and maintained? : Sas-bi
Name types of category in which SAS Informats are placed?
What are the difficulties u faced while doing vital signs table or dataset?
What are the statements in proc sql?
how does sas handle missing values in assignment statements? : Sas programming
Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma
Can you explain the process of calendar?
What is the difference between reading data from an external file and reading data from an existing data set?
What’s the difference between var b1 – b3 and var b1 — b3?
what is the use of proc contents and proc print in sas? : Sas-administrator