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 |
Explain how you can debug and test your SAS program?
What is the difference between using drop = data set option in data statement and set statement?
What are the 3 components in sas programming?
what is syntax of proc merge ?
Are you familiar with special input delimiters How are they used?
What does proc print, and proc contents are used for?
When you will use nowd option in report???
Explain the main difference between the sas procedures and functions? : Sas-administrator
how to extract data from SAP servers? Is like oracle servers or any other methods to extract please reply me.
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
How can a SAS WEB REPORT STUDIO USER identify which report tabs they have been permitted without entering the SAS WEB REPORT STUDIO
List down the reasons for choosing sas over other data analytics tools.