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

How does the internal authentication work in sas? : sas-grid-administration

581


How do you use the do loop if you don’t know how many times you should execute the do loop?

749


how to do user inputs and command line arguments in sas?

2428


What are the 3 components in sas programming?

723


What are pdv and it functions?

596






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

559


Name types of category in which SAS Informats are placed?

732


What are the difficulties u faced while doing vital signs table or dataset?

1931


What are the statements in proc sql?

591


how does sas handle missing values in assignment statements? : Sas programming

565


Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma

3058


Can you explain the process of calendar?

639


What is the difference between reading data from an external file and reading data from an existing data set?

632


What’s the difference between var b1 – b3 and var b1 — b3?

823


what is the use of proc contents and proc print in sas? : Sas-administrator

603