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
Mention the category in which sas informats are placed?
What is a macro routine?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
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
If a variable contains only numbers, can it be a character data type?
Explain bmdp procedure?
Explain by-group processing?
Which command is used to perform sorting in sas program?
what is transformation in sas data integration? : Sas-di
Do you need to know if there are any missing values?
what is sas application server? : Sas-di
What is the difference between the proc sql and data step?
What are the 3 components in sas programming?
What is substr function?
What are the default statistics that proc means produce?