Answer Posted / 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 |
Post New Answer View All Answers
what is sas business intelligence? : Sas-bi
what are all the reports you generated in your recent project?
What do you code to create a macro? : sas-macro
What do the SAS log messages "numeric values have been converted to character" mean?
what are the categories that sas informats are used to the place the data? : Sas-administrator
Describe crosslist option in tables statement?
What is connection profile? : sas-grid-administration
Explain proc univariate?
describe how to adjust the performance of data integrator? : Sas-di
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
What is program data vector (pdv) and what are its functions?
what is information maps?
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
explain the difference between proc means and proc summary?
Explain what Proc glm does?