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 can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
In SAS explain which statement does not perform automatic conversions in comparisons?
What is the order of application for output data set options, input data set options and SAS statements?
what are the considerations when picking a SAS/STAT procedure?
How will you generate test data with no input data?
Tell me more about the parameters in macro? : sas-macro
what is the difference between infile and input? : Sas-administrator
how does sas handle missing values in assignment statements? : Sas programming
Enlist the syntax rules followed in sas statements.
how the sas basic syntax style described? : Sas-administrator
for whom is sas data integration studio designed? : Sas-di
how many display types available in sas bi dashboard? : Sas-bi
why is sas data integration studio important? : Sas-di
what is SAS OPTIMIZATION?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming