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 ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kumarravi123
One will get appreciate from our team members if u give
correct answer
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ramkgupta
thank you abcds for correcting my small mistake.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nagmani
data p;
input @6 x$ 7.;
cards;
kannafromsalembul
;
run;
Is This Answer Correct ? | 0 Yes | 0 No |
how to import XTP files into SAS datasets?
1 Answers Barclays, Institute For Plasma Research,
why is a stop statement needed for the point=option on a set statement? : Sas programming
If you were told to create many records from one record show how you would do this using arrays and with PROC TRANSPOSE?
When you will use nowd option in report???
Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.
How can you limit the variables written to output dataset in data step?
What is _n_?
How would you determine how far down on a page you have printed in order to print out footnotes?
where to use sas business intelligence? : Sas-bi
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
Name validation tools used in SAS
Which function is used to count the number of intervals between two sas dates?