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?

Answers were Sorted based on User's Feedback



When looking for data contained in a character string of 150 bytes, which function is the best to l..

Answer / kamalan

Scan() : Used to seperate a part of string using certain
delimiters.

index() : used to search a string. Return the position
where the search STRING occurs first in the given string.

indexc() : used to serach a character.Return the position
where the search CHARACTER occurs first in the given string.

So the Answer is: Index()

Is This Answer Correct ?    10 Yes 0 No

When looking for data contained in a character string of 150 bytes, which function is the best to l..

Answer / thanwi

scan function becuase the length of the varaible returned by
scan function is 200 bytes

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More SAS Interview Questions

For what purpose would you use the RETAIN statement?

0 Answers   Quintiles,


how can u create zero observation dataset?

11 Answers   CitiGroup,


IS SAS COMPILER OR INTERPRETER? EXPLAIN?

3 Answers   Aon Hewitt, HSBC, SCL, TCS,


Describe a time when you were really stuck on a problem and how you solved it?

0 Answers   DELL,


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

0 Answers   Satyam,


how do you pull data from equifax?tell me the process?

0 Answers   Synchrony Financial,


what is Global Symbol table and Local symbol table?

4 Answers   CitiGroup,


what are some good sas programming practices for processing very large data sets? : Sas programming

0 Answers  


I have 2 data sets A & B. Both have a variable called Age in them, each of them specifying a different functionality. In my program I use bot these data sets. How do I specify which Age variable I want to use?

6 Answers  


Can you explain the process of calendar?

0 Answers  


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

0 Answers  


In PROC PRINT, can you print only variables that begin with the letter “A”?

8 Answers  


Categories