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?

Answers were Sorted based on User's Feedback



When looking for data contained in a character string of 150 bytes, which function is the best to l..

Answer / kamalan

Scan() : Used to seperate a part of string using certain
delimiters.

index() : used to search a string. Return the position
where the search STRING occurs first in the given string.

indexc() : used to serach a character.Return the position
where the search CHARACTER occurs first in the given string.

So the Answer is: Index()

Is This Answer Correct ?    10 Yes 0 No

When looking for data contained in a character string of 150 bytes, which function is the best to l..

Answer / thanwi

scan function becuase the length of the varaible returned by
scan function is 200 bytes

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More SAS Interview Questions

I am looking to buy a sas advance book. So any one can guide me that which one i should buy.

0 Answers  


how will you location sas platform applications available from web browser? : Sas-bi

0 Answers  


Which is Best Institute for learning SAS BASE & SAS BI in Hyderabad? Can anyone suggest me ?

5 Answers   ACC,


i have a macro variable var1,var2. i want titles for the each macro variable separately? how it is possible?

1 Answers   L&T,


what are different type of sas servers ? On which server does the sas code execute ?

4 Answers   TCS,






How do you delete duplicate observations in sas?

0 Answers  


what is sas enterprise intelligence architecture? : Sas-bi

0 Answers  


Which statement does not perform automatic conversions in comparisons?

0 Answers  


where are dashboard components are created and maintained? : Sas-bi

0 Answers  


What is the purpose of the trailing @? The @@? How would you use them?

10 Answers   Accenture,


what has been your most common programming mistake? : Sas programming

0 Answers  


what are the types of interactive display types? : Sas-bi

0 Answers  


Categories