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

What is the basic syntax style in SAS?

1096


How do you control the number of observations and/or variables read or written?

1194


I need level 2 to 5 sas using companies in india

2330


what is treatment emergent events and treatment emregent adverse event

2325


How would you determine the number of missing or nonmissing values in computations?

1014


Give some examples where proc report’s defaults are different than proc print’s defaults?

1013


Explain bmdp procedure?

987


how to remove duplicates using proc sql?

1093


What do you know about symput and symget?

1163


Have you ever used the SAS Debugger?

1695


What would you change about your job?

2333


what is the difference between infile and input? : Sas-administrator

1064


Are you involved in writing the inferential analysis plan? Tables specfications?

2172


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

1301


why is a stop statement needed for the point=option on a set statement? : Sas programming

1041