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
How do dates work in SAS data?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What is the difference between one to one merge and match merge? Give an example.
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?
Tell me more about the parameters in macro? : sas-macro
What is the difference between where and if statement?
Describe the ways in which you can create macro variables?
What are the implications?
what is the primary data source for the wrs? : Sas-bi
what other sas products have you used and consider yourself proficient in using? : Sas programming
What versions of SAS have you used (on which platforms)?
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Explain the difference between using drop = data set option in set and data statement?
Why and when do you use proc sql?