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 / rinky
The questions is to locate and not to extract any
particular word from a string of 150 bytes. SO, according
to me INDEX is the best.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
To what type of programms have you used scratch macros?
what is the difference between floor and ceil functions in sas? : Sas-administrator
What is the difference between SAS functions and procedures?
describe about physical data integration? : Sas-di
What is the maximum length of the macro variable? : sas-macro
How do you test for missing values?
What are the different servers in sas? : sas-grid-administration
what is the use of proc contents and proc print in sas? : Sas-administrator
What function CATX syntax does?
What do you know about symput and symget?
What is the use of stop statement?
what is ae onset date n what is RDS
what is program data vector? : Sas-administrator
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
Name some categories in sas 9? : sas-grid-administration