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
name some data transformation used in sas di? : Sas-di
what are _numeric_ and _character_ and what do they do? : Sas programming
How to create a permanent sas data set?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
Explain the purpose of substr functions in sas programming.
What is the purpose of _character_ and _numeric_?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
What is SAS informats?
What is the length assigned to the target variable by the scan function?
Mention few capabilities of sas framework.
what are the best practices to process the large data sets in sas programming? : Sas-administrator
why is sas data integration studio important? : Sas-di
Mention sas system options to debug sas macros.
What is the difference between SAS functions and procedures?
what is data integration? : Sas-di