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 |
CHOOSE ANY ONE OF THE PROCEDURE FOLLOWING TO GENERATE THE REPORTS? HOW CAN YOU SAY IT IS BETTER THAN THE OTHER? AND DEFERENCIATE THESE TWO ? 1). REPORT PROCEDURE 2). TABULATE PROCEDURE
Which date functions advances a date time or date/time value by agiven interval?
Name statements that are execution only?
How do you generate random samples?
How to Rename Library?
what is null hypothesis? why do you consider that?
0 Answers Accenture, Quintiles,
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.
what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming
Give an example where SAS fails to convert character value to numeric value automatically?
What does error:1 mean?
How we will Developing new reports Using Data step programming and Macros ?
Explain substr function?