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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between match merge and one to one merge?

1247


what is hierarchy flattening? : Sas-di

1077


what is slowly changing dimension? : Sas-di

1125


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1170


What is maximum storage capability of SAS?

1423


how do you want missing values handled? : Sas programming

956


Which function is used to count the number of intervals between two sas dates?

1128


what are the benefits of data integration? : Sas-di

1108


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2459


How do you test for missing values?

1636


describe the interaction table in sas di? : Sas-di

1031


where are dashboard components are created and maintained? : Sas-bi

1013


Can you explain the process of calendar?

1116


What is the command used to find missing values?

1100


What is the basic syntax of a sas program?

1200