Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference Between Scan and Substr

Answers were Sorted based on User's Feedback



Difference Between Scan and Substr..

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

Difference Between Scan and Substr..

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

Post New Answer

More SAS Interview Questions

If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

0 Answers  


Do you need to know if there are any missing values?

0 Answers  


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

0 Answers  


How many tiers in sas architecture?

2 Answers  


SAS using companies in chennai

1 Answers  


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

0 Answers  


How can a SAS WEB REPORT STUDIO USER identify which report tabs they have been permitted without entering the SAS WEB REPORT STUDIO

2 Answers   TCS,


What do the put and input function do?

0 Answers  


Which statement does not perform automatic conversions in comparisons?

0 Answers  


If you set a label in the data step and call a proc freq on the data, how do you display the data without the labels and just the variables.

1 Answers  


Name statements that are execution only?

7 Answers  


Is it possible to do sorting tranformation in charecter variable??if can tell me one eg..

1 Answers  


Categories