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 the order of evaluation of the following operators + - * / ** () ???
Explain bmdp procedure?
how can you get the single data set from the library(which has the number of data sets)?
3 Answers Accenture, Deloitte,
which domain is better in sas? clinical trails or banking
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
What are the 3 components in sas programming?
What system options would you use to help debug a macro? : sas-macro
Enlist the functions performed by sas.
What is _n_?
what is the Population you used in your project, is it ITT or PP?
0 Answers Accenture, Quintiles,
hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?
what is sas? is a package or tool? give me introduction about sas?