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

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

2383


What does P-value signify about the statistical data?

1369


Give e an example of..

2346


What is the difference between class statement and by statement in proc means?

1305


What is proc sort?

1230


What are the special input delimiters used in SAS?

1188


what is intially documentation in sas?

5057


If money were no object, what would you like to do?

3205


What are the five ways to do a table lookup in sas? : sas-grid-administration

1065


Explain substr function?

1120


What are the default statistics for means procedure?

1254


what is proc Index? and what is proc document?

2725


If a variable contains letters or special characters, can it be numeric data type?

1218


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

1202


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

1009