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

how many types prompting framework can be broken down to? : Sas-bi

0 Answers  


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.

2 Answers   Cap Gemini, L&T,


Give some examples where proc report’s defaults are different than proc print’s defaults?

0 Answers  


which date function advances a date, time or datetime value by a given interval? : Sas programming

0 Answers  


what kind of variables are collected in AE dataset?

3 Answers   Accenture, Quintiles, SAS,


Explain data_null_?

0 Answers  


what is information maps?

0 Answers   CitiGroup,


What is SAS? What are the functions does it performs?

0 Answers  


Write a SAS macro to calculate number of numbers in an email address

2 Answers  


If you have a data set that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variable?

16 Answers  


what are sas/access and sas/connect? : Sas programming

0 Answers  


Categories