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

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between proc means and proc summary.

606


How long can a macro variable be? A token? : sas-macro

720


explain about data integrator metadata reports? : Sas-di

566


what is hierarchy flattening? : Sas-di

622


What is run-group processing?

627






I have a dataset concat having a variable a b & c. How to rename a b to e & f?

764


which features do you use to check the data validations and errors? : Sas-administrator

554


what are several options for creating reports in web report studio? : Sas-bi

634


What is the role of unrestrictive users? : sas-grid-administration

574


what is the difference between floor and ceil functions in sas? : Sas-administrator

708


What is the maximum length of the macro variable?

680


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

559


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

634


What is the maximum length of the macro variable? : sas-macro

627


What is the function of output statement in a SAS Program?

619