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
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 |
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 |
I am looking to buy a sas advance book. So any one can guide me that which one i should buy.
how will you location sas platform applications available from web browser? : Sas-bi
Which is Best Institute for learning SAS BASE & SAS BI in Hyderabad? Can anyone suggest me ?
i have a macro variable var1,var2. i want titles for the each macro variable separately? how it is possible?
what are different type of sas servers ? On which server does the sas code execute ?
How do you delete duplicate observations in sas?
what is sas enterprise intelligence architecture? : Sas-bi
Which statement does not perform automatic conversions in comparisons?
where are dashboard components are created and maintained? : Sas-bi
What is the purpose of the trailing @? The @@? How would you use them?
what has been your most common programming mistake? : Sas programming
what are the types of interactive display types? : Sas-bi