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

Give some examples where proc report’s defaults are same as proc print’s defaults?

1054


what are informats in sas? : Sas-administrator

1015


Name few SAS functions?

1041


What is by-group processing?

945


why is sas data integration studio important? : Sas-di

976


Explain bmdp procedure?

985


How are numeric and character missing values represented internally?

1605


I need level 2 to 5 sas using companies in india

2327


What is the command used to find missing values?

1036


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?

2401


What is maximum number of rows and cols can be handled in SAS?

1472


what is study design in while working with SAS? what are screening variables in SAS?

2179


What are types of transport files?

7861


Can you suggest us materials for sdtm mapping?

4387


in the flow of data step processing, what is the first action in a typical data step? : Sas programming

1014