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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the types of interactive display types? : Sas-bi

1096


What are common programming errors committed in sas

1146


What do the put and input function do?

1061


Explain translate function?

1202


What is the difference between input and infile statement?

1175


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1045


Explain what Proc glm does?

1210


what is information maps?

2221


Difference between sum function and using “+” operator?

1147


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1088


what are the best practices to process the large data sets in sas programming? : Sas-administrator

1023


what are sas bi dashboard components? : Sas-bi

1172


what is SAS OPTIMIZATION?

2292


What is the difference between proportion and average?

3336


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1683