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 sas features do you use to check errors and data validation?
what is the function of catx syntax? : Sas-administrator
What is substr function?
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
Define run-group processing?
Have you ever used the SAS Debugger?
Have you used macros? For what purpose you have used? : sas-macro
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
: and & modifiers.
Explain data_null_?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya
how do the in= variables improve the capability of a merge? : Sas programming
If money were no object, what would you like to do?
What is the maximum length of the macro variable? : sas-macro