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

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


Please Help Members By Posting Answers For Below Questions

Explain the special input delimiters used in sas programming.

1042


What are the ways to do a “table lookup” in sas?

1076


how does sas handle missing values in a merge? : Sas programming

1095


How do dates work in SAS data?

1227


What is factor analysis?

1196


what are sas bi dashboard components? : Sas-bi

1227


what is SAS OPTIMIZATION?

2350


How do you connect the desktop application to metadata server? : sas-grid-administration

1144


Mention the validation tools used in SAS?

1230


What is a pdv and what are its functions?

1215


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

1094


What are the default statistics that proc means produce?

1086


describe the interaction table in sas di? : Sas-di

1072


How would you identify a macro variable? : sas-macro

1062


how do the in= variables improve the capability of a merge? : Sas programming

1479