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

what is sas business intelligence? : Sas-bi

1091


what are all the reports you generated in your recent project?

2128


What do you code to create a macro? : sas-macro

1065


What do the SAS log messages "numeric values have been converted to character" mean?

1326


what are the categories that sas informats are used to the place the data? : Sas-administrator

989


Describe crosslist option in tables statement?

1167


What is connection profile? : sas-grid-administration

1109


Explain proc univariate?

970


describe how to adjust the performance of data integrator? : Sas-di

945


i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;

2436


What is program data vector (pdv) and what are its functions?

1150


what is information maps?

2154


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1723


explain the difference between proc means and proc summary?

1071


Explain what Proc glm does?

1112