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
Mention some common errors that are usually committed in sas programming.
What is data _null_?
what versions of sas have you used (on which platforms)? : Sas programming
Give some examples where proc report’s defaults are different than proc print’s defaults?
What are the automatic variables for macro? : sas-macro
How can I remove header from output data set?
which date function advances a date, time or datetime value by a given interval? : Sas programming
Tell e how how dealt with..
To what type of programms have you used scratch macros?
Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com
what is SAS OPTIMIZATION?
how do you test for missing values? : Sas programming
How would you determine the number of missing or nonmissing values in computations?
Name validation tools used in SAS
what are the best practices to process the large data sets in sas programming? : Sas-administrator