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
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Describe a time when you were really stuck on a problem and how you solved it?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
Can you explain the process of calendar?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
What is the command used to find missing values?
which date function advances a date, time or datetime value by a given interval? : Sas programming
what is business intelligence? : Sas-bi
explain the difference between proc means and proc summary?
Explain the use of proc gplot? : sas-grid-administration
what is slowly changing dimension? : Sas-di
What sas features do you use to check errors and data validation?
How to create list output for cross-tabulations in proc freq?
What is the difference between %put and symbolgen? : sas-macro
name some data transformation used in sas di? : Sas-di