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 are the ways to do a “table lookup” in sas?
What is the difference between %put and symbolgen? : sas-macro
Describe a time when you were really stuck on a problem and how you solved it?
what are some differences between proc summary and proc means? : Sas programming
How to specify variables to be processed by the freq procedure?
Tell me more about the parameters in macro? : sas-macro
What is the use of stop statement?
What is a macro routine?
What does proc print, and proc contents are used for?
What function CATX syntax does?
Which command is used to perform sorting in sas program?
Explain the difference between using drop = data set option in set and data statement?
what are the types of interactive display types? : Sas-bi
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
What is program data vector (pdv) and what are its functions?