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

For clinical entire study how many tables will create approx?

1520


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

698


Mention how to limit decimal places for the variable using proc means?

641


What are the data types does SAS contain?

650


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

624






What is the use of function Proc summary?

651


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

836


What are the special input delimiters used in SAS?

650


how do the in= variables improve the capability of a merge? : Sas programming

931


What do the PUT and INPUT functions do?

773


What’s the difference between var b1 – b3 and var b1 — b3?

824


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1159


What do you know about symput and symget?

727


Differentiate between proc means and proc summary.

599


what is ae onset date n what is RDS

1931