Difference Between Scan and Substr
Answers were Sorted based on User's Feedback
Answer / yachna
There is only one difference between Scan & Substr..Just look at below example
eg. String = rajesh chauhan
If we want first four letter of the string then we can use Substr function here not scan..Scan function can pick first word.
SubName=Substr(String,1,4);
ScanName=Scan(String,1,' ');
Subname = raje
ScanName=rajesh
Is This Answer Correct ? | 18 Yes | 1 No |
Answer / sudhir kumar
Both are function scan function Extracts nth position word
from string separated key dlm if n is -ve then starts at
end. and substr function extracts char string from start
position and with length .
Is This Answer Correct ? | 9 Yes | 0 No |
what is data integration? : Sas-di
Name statements that function at both compile and execution time.
What are the differences between sum function and using “+” operator?
Can you suggest us materials for sdtm mapping?
What other SAS features do you use for error trapping and data validation?
is QUALCOMM using SAS ?
What are some problems you might encounter in processing missing values? In Data steps? Arithmetic? Comparisons? Functions? Classifying data?
how do u identify a macro variable
Mention what is the difference between nodupkey and nodup options?
What is the difference between informat and format statement?
how do you derive descriptive statistics?
1 Answers Accenture, Quintiles,
State the difference between INFORMAT and FORMAT ?