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 do we mail reports from SAS environment to our team leader

5 Answers   Wockhardt,


how are numeric and character missing values represented internally? : Sas programming

0 Answers  


What is SAS Information Map Studio and its purpose ?

2 Answers   SAS, TCS,


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

0 Answers  


how to read raw data in sas. Do it manually and throw the programming.

1 Answers   WNS,


Approximately what date is represented by the SAS date value of 730?

0 Answers  


explain the use of % includes a statement in sas? : Sas-administrator

0 Answers  


what is SAS ACCESS AND SAS CONNECT ? Give an example and data statements used.

1 Answers   TCS,


How to Rename Library?

3 Answers  


How would you include common or reuse code to be processed along with your statements?

5 Answers   PSCI,


Name and describe three SAS functions that you have used, if any?

2 Answers  


What is the role of administrative users? : sas-grid-administration

0 Answers  


Categories