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 function CATX syntax does?

1226


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1077


What is the difference between reading data from an external file and reading data from an existing data set?

1186


Describe the function and utility of the most difficult SAS macro that you have written?

2572


how do you test for missing values? : Sas programming

1060


for what purpose would you use the retain statement? : Sas programming

1100


Explain what is SAS informats?

1098


which features do you use to check the data validations and errors? : Sas-administrator

1061


What do the PUT and INPUT functions do?

1342


do you prefer proc report or proc tabulate? Why? : Sas programming

991


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2378


What is the SAS data set?

1139


What Proc glm does?

1091


Which command is used to save logs in the external file?

1105


Name validation tools used in SAS

1185