Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When looking for data contained in a character string of 150
bytes, which function is the best to locate that data: scan,
index, or indexc?

Answer Posted / jothi sankar

INDEX is best one. Is for getting location of mentioned
data.

Eg:
str1 = 'Hi i am fine here. how are u there ? .....';
str2 = index(str1,'how'); --> str2 = 20



SCAN is to get a substring upto mentioned character

INDEXC to locate only for mentioned one or more single
character

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are some differences between proc summary and proc means? : Sas programming

1107


Can you suggest us materials for sdtm mapping?

4438


How to sort in descending order?

1248


How do you connect the desktop application to metadata server? : sas-grid-administration

1082


I have a dataset concat having variable a b & c. How to rename a b to e & f?

1013


What areas of SAS are you most interested in?

1531


explain what is data set in sas? : Sas-administrator

975


how can you create zero observation dataset? : Sas programming

1136


what is sas application server? : Sas-di

1064


In proc transpose and data step with arrays which one you pick?

3101


Give some ways by which you can define the variables to produce the summary report (using proc report)?

1081


What is the difference between %local and %global? : sas-macro

1177


how does sas handle missing values in procs? : Sas programming

1238


explain about sas business intelligence? : Sas-bi

1132


What is the function of output statement in a SAS Program?

1060