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 is your favorite all time computer book? Why?

2464


What does proc print, and proc contents are used for?

1074


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1030


What is a macro routine?

2660


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

944


What are SAS/ACCESS and SAS/CONNECT?

1101


What are the different types of sas functions?

1213


How do you use the do loop if you don’t know how many times you should execute the do loop?

1229


How many ways to overcome a missing values???

2771


Mention what is SAS data set?

1106


What is the SAS data set?

1099


what other sas products have you used and consider yourself proficient in using? : Sas programming

1068


What are the different versions of sas that you have used until now? : sas-grid-administration

1295


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

2338


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2541