Answer Posted / abhilash
by using index we search a particular string or sub string
it returns the position where the sub string is located
for ex:
data index;
name="india is greatest country";
idx-index(name,"great");
run;
it returns the great sub string position(10)
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
Explain how you can debug and test your SAS program?
what is business intelligence? : Sas-bi
what is sas application server? : Sas-di
List out some key concept of SAS
Intern stastical programmer written test
Describe the ways in which you can create macro variables? : sas-macro
what is the difference between infile and input? : Sas-administrator
how many types prompting framework can be broken down to? : Sas-bi
Why double trailing @@ is used in input statement?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
How do you add a number to a macro variable? : sas-macro
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
Enlist the syntax rules followed in sas statements.
what is sas enterprise intelligence architecture? : Sas-bi