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
How would you include common or reuse to be processed along with your statements?
What does P-value signify about the statistical data?
Give e an example of..
What is the difference between class statement and by statement in proc means?
What is proc sort?
What are the special input delimiters used in SAS?
what is intially documentation in sas?
If money were no object, what would you like to do?
What are the five ways to do a table lookup in sas? : sas-grid-administration
Explain substr function?
What are the default statistics for means procedure?
what is proc Index? and what is proc document?
If a variable contains letters or special characters, can it be numeric data type?
What is SAS? What are the functions does it performs?
In sas admin differentiate between roles and capabilities? : sas-grid-administration