Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I need to find the numeric field which contains blank in
between..Ex:123 456...there is blank in between the 123
456..I need to know if there is any SAS function to find a
field..


Please suggest...

Answer Posted / akhil

If I am having a data set c
data test;
input c $ 20.;

cards;
123 456
217 236
456235
225 5665
55
77 85
46556
4588 56
;
run;
proc print;
run;

Now I am going to fetch observation having space in between,

data e(drop=e t);
set test;
e=length(c);
t=find(c,'');
if e>t;
run;
proc print data=e;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist the syntax rules followed in sas statements.

1093


what is business intelligence? : Sas-bi

1073


Mention what is PROC in SAS?

1067


What is the role of administrative users? : sas-grid-administration

1085


How to convert a numeric variable to a character variable?

1216


For what purposes have you used sas macros? : sas-macro

1004


explain the function of substr in sas? : Sas-administrator

1020


how are numeric and character missing values represented internally? : Sas programming

1155


What system options would you use to help debug a macro? : sas-macro

1105


what is sas olap server? : Sas-di

1265


How many data types are there in SAS?

1085


Explain how merging helps to combine data sets.

1062


What are the data types does SAS contain?

1125


What is the difference between where and if statement?

1118


explain the use of % includes a statement in sas? : Sas-administrator

1010