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
what is ae onset date n what is RDS
What is data _null_?
What is the maximum length of the macro variable?
What do the put and input function do?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
What are the default statistics for means procedure?
What do the mod and int function do? : Sas programming
name the scheduler for scheduling job and explain the scheduler? : Sas-di
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
What do the PUT and INPUT functions do?
What are the difference between ceil and floor functions in sas?
Mention the validation tools used in SAS?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS