When looking for data contained in a character string of 150
bytes, which function is the best to locate that data: scan,
index, or indexc?
Answer Posted / ganesh
Scan function the best for locating the particular word
specified in a argument,scan function default length is
200bytes.
data k;
r='ganesh kumar';
u=scan(r,2);
proc print;
run;
result: kumar
Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
Explain the use of proc gplot? : sas-grid-administration
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.
Difference between informat and format?
What are the data types does SAS contain?
What are the five ways to do a table lookup in sas? : sas-grid-administration
what does the run statement do? : Sas programming
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
What will calendar procedure do?
what is function of retain statment
what is slowly changing dimension? : Sas-di
What are the differences between sum function and using “+” operator?