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
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
what is business intelligence? : Sas-bi
Are you involved in writing the inferential analysis plan? Tables specfications?
explain about sas business intelligence? : Sas-bi
do you need to know if there are any missing values? : Sas programming
how the sas basic syntax style described? : Sas-administrator
What is the function of output statement in a SAS Program?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
what is factor analysis? : Sas-administrator
Which command is used to perform sorting in sas program?
Differentiate between proc means and proc summary.
what is operational data and operational system? : Sas-di
What is the difference between one to one merge and match merge? Give an example.
for whom is sas data integration studio designed? : Sas-di