Write a SAS macro to calculate number of numbers in an
Answers were Sorted based on User's Feedback
Answer / dey
length EMAIL $50;
retain count 0;
do i = 1 to length(EMAIL);
if missing(substr(EMAIL,i,1)*1)=0 then
COUNT= COUNT +1;
|Is This Answer Correct ?||1 Yes||1 No|
Answer / naresh
Use compress function and remove characters and special characters then you will get digits.. Now find the length of the string...
|Is This Answer Correct ?||0 Yes||0 No|
what other SAS features do you use for error trapping and data validation?
What SAS statements would you code to read an external raw data file to a DATA step?
Tell me more about the parameters in macro? : sas-macro
What areas of SAS are you most interested in?
What has been your most common programming mistake?
What are the prime responsibilities of data integration administrator? : Sas-di
In proc transpose and data step with arrays which one you pick?
Which is the Best SAS training Institute in Delhi NCR for SAS certification preparation
is data integration and etl programming is same? : Sas-di
What is the work of tranwrd function?
Code a PROC MEANS that shows both summed and averaged output of the data.
how does sas handle missing values in procs? : Sas programming