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
Explain the difference between using drop = data set option in set and data statement?
Explain why double trailing @@ is used in input statement?
What are the different operating system platforms in which we can use sas? : sas-grid-administration
explain the use of % includes a statement in sas? : Sas-administrator
What is the use of divide function?
What do you know about sas and what we do? : sas-grid-administration
how to generate the test data in sas without input data? : Sas-administrator
How to create an external dataset with sas code?
How to create list output for cross-tabulations in proc freq?
what is sas enterprise intelligence architecture? : Sas-bi
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
what is the difference between unique key and primary key? : Sas-di
What are the difference between sas functions and procedures?
what does the run statement do? : Sas programming