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...

i have a dataset with 25 obs; 10th obs has like
ramu,anji,ramu,azad,ramu like this. i want to know how many
times the word repeats in that obs?

Answer Posted / alok karan

data repeat;
x="ramu anji ramu azad ramu";
y=count(x,"ramu");
run;
proc print data=repeat;
run;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3572


Describe a time when you were really stuck on a problem and how you solved it?

2535


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

1054


Can you explain the process of calendar?

1101


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

1010


What is the command used to find missing values?

1088


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

1025


what is business intelligence? : Sas-bi

1049


explain the difference between proc means and proc summary?

1109


Explain the use of proc gplot? : sas-grid-administration

967


what is slowly changing dimension? : Sas-di

1111


What sas features do you use to check errors and data validation?

1204


How to create list output for cross-tabulations in proc freq?

1099


What is the difference between %put and symbolgen? : sas-macro

1224


name some data transformation used in sas di? : Sas-di

957