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 / nagmani
data p;
input @6 x$ 7.;
cards;
kannafromsalembul
;
run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how do you pull data from equifax?tell me the process?
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What would be the value of month at the end of data step execution and how many observations would be there?
what is sas metadata server? : Sas-di
What is the good sas programming practices for processing large data sets?
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
How would you identify a macro variable? : sas-macro
What is the basic syntax of a sas program?
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
what is the use of sas management console? : Sas-di
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
Enlist the syntax rules followed in sas statements.
How to create a permanent sas data set?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
what is hash files in sas and why we are using this one in sas?