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...


We have a string like this "kannafromsalembut" ,from this i
want to get only "fromsal" (but one condition with out
using substring function)here we can not use scan because in
the given string there is no delimeter? so give ans without
out using substring ?

Answers were Sorted based on User's Feedback



We have a string like this "kannafromsalembut" ,from this i want to get only "fromsa..

Answer / ram kumar

data _null_;
file print;
tranw=tranwrd('kannafromsalembut','kanna',' ');
tranw1=tranwrd(tranw,'embut',' ');
tranw2=strip(tranw2);
put tranw2= ;
run;
this will give your required output. that is tranw2=fromsal.

Is This Answer Correct ?    11 Yes 4 No

We have a string like this "kannafromsalembut" ,from this i want to get only "fromsa..

Answer / abcds

data _null_;
file print;
tranw = tranwrd('kannafromsalembut','kanna',' ');
tranw1 = tranwrd(tranw,'embut',' ');
tranw2 = strip(tranw1);
put tranw2= ;
run;
this is the correct one.

Is This Answer Correct ?    7 Yes 0 No

We have a string like this "kannafromsalembut" ,from this i want to get only "fromsa..

Answer / kumarravi123

One will get appreciate from our team members if u give
correct answer

Is This Answer Correct ?    2 Yes 1 No

We have a string like this "kannafromsalembut" ,from this i want to get only "fromsa..

Answer / ramkgupta

thank you abcds for correcting my small mistake.

Is This Answer Correct ?    0 Yes 0 No

We have a string like this "kannafromsalembut" ,from this i want to get only "fromsa..

Answer / nagmani

data p;
input @6 x$ 7.;
cards;
kannafromsalembul
;
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?

1 Answers   Accenture,


What is the purpose of the trailing and How would you use them?

8 Answers  


Explain proc sort?

0 Answers  


what is OLAP?

4 Answers   CitiGroup, TCS,


Describe the function and utility of the most difficult SAS macro that you have written?

0 Answers   Oracle,


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

0 Answers  


List down the reasons for choosing sas over other data analytics tools.

0 Answers  


explain about various caches available in data integrator? : Sas-di

0 Answers  


Which command is used to save logs in the external file?

0 Answers  


Do you prefer Proc Report or Proc Tabulate? Why?

9 Answers   Oracle,


what do the pad and dim functions do? : Sas programming

0 Answers  


For what purpose would you use the RETAIN statement?

0 Answers   Quintiles,


Categories