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
What are the uses of sas?
how does sas handle missing values in formats? : Sas programming
Explain how merging helps to combine data sets.
What is a method to debug and test your SAS program?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
what is the basic structure sas administrator? : Sas-administrator
explain about sas business intelligence? : Sas-bi
what versions of sas have you used (on which platforms)? : Sas programming
What are the difference between sas functions and procedures?
What can be the size of largest dataset in SAS?
what are all the reports you generated in your recent project?
What is slibref?
Differentiate between proc means and proc summary.
How do you debug and test your SAS programs?
What is the sas data set? : sas-grid-administration