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 will you generate test data with no input data?

1173


What was the last computer book you purchased? Why?

2374


What does proc print, and proc contents are used for?

1136


Have you used macros? For what purpose you have used? : sas-macro

1041


Tell e how how dealt with..

2253


How substr function works in sas?

1222


What can you learn from the SAS log when debugging?

1382


In ARRAY processing, what does the DIM function do?

1175


what is the difference between nodup and nodupkey options? : Sas programming

1192


How many ways to overcome a missing values???

2810


What is SAS?

1053


Differentiate between sas functions and sas procedures.

1242


What commands are used in the case of including or excluding any specific variables in the data set?

1097


Can you explain the process of calendar?

1116


How would you define the end of a macro?

1094