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

what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

0 Answers  


If you’re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

8 Answers   Accenture,


What is the difference between using drop = data set option in data statement and set statement?

0 Answers  


explain about various caches available in data integrator? : Sas-di

0 Answers  


Explain the message 'Merge has one or more datasets with repeats of by variables'.

5 Answers  


what are different analysis datasets you created and what are the new variables created

2 Answers   Sciformix,


Explain the difference between informat and format with an example.

0 Answers  


what are the sites did u refer for enquiries and doubts for SAS

2 Answers   UBS,


for report generation which one you used proc report or data_null_?

3 Answers   Accenture, Quintiles,


how to handle in stream data containing semicolon in it?

3 Answers  


what are informats in sas? : Sas-administrator

0 Answers  


tell me about intnx, intcx functions?

4 Answers   CitiGroup,


Categories