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
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
I need level 2 to 5 sas using companies in india
do you prefer proc report or proc tabulate? Why? : Sas programming
how do you pull data from equifax?tell me the process?
What are the limitations for memory allocation for SAS variables
What is the basic syntax of a sas program?
Differentiate between sas functions and sas procedures.
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
What is by-group processing?
How do you control the number of observations and/or variables read or written?
How to limit decimal places for the variable using proc means?
What are pdv and it functions?
Give e an example of..
How are numeric and character missing values represented internally?
What makes sas stand out to be the best over other data analytics tools?