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

Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1265


I need level 2 to 5 sas using companies in india

2436


do you prefer proc report or proc tabulate? Why? : Sas programming

1034


how do you pull data from equifax?tell me the process?

1836


What are the limitations for memory allocation for SAS variables

1549


What is the basic syntax of a sas program?

1264


Differentiate between sas functions and sas procedures.

1315


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

1069


What is by-group processing?

1057


How do you control the number of observations and/or variables read or written?

1298


How to limit decimal places for the variable using proc means?

1123


What are pdv and it functions?

1246


Give e an example of..

2138


How are numeric and character missing values represented internally?

1714


What makes sas stand out to be the best over other data analytics tools?

1118