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 is a pdv and what are its functions?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
What sas features do you use to check errors and data validation?
What do the mod and int function do? : Sas programming
Mention what are the data types does SAS contain?
What is the order of application for output data set options, input data set options and SAS statements?
What are the default statistics that proc means produce?
What are common programming errors committed in sas
How we can create SAS USER DEFINED CODE?
In ARRAY processing, what does the DIM function do?
Name types of category in which SAS Informats are placed?
how can you create zero observation dataset? : Sas programming
What is a put statement?
What are the uses of sas?
State the difference between INFORMAT and FORMAT ?