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

What is LAG function?How is it used? can any one explain

3 Answers   TRE, Verinon Technology Solutions,


what is picture format? give any one example?

3 Answers   Parexel,


What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???

3 Answers  


How to specify variables to be processed by the freq procedure?

0 Answers  


what is the difference between proc means and proc tabulate?

3 Answers   Cognizant, CTS,


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table?

11 Answers   ABC, Amex,


How do I CREATE an external dataset with sas code? I would like to create within a sascode a non-exsistent textfile on the host. So I am not forced to create the file befor filling it.

2 Answers  


What is the Program Data Vector (PDV)? What are its functions?

5 Answers   Accenture,


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

3 Answers  


Mention sas system options to debug sas macros.

0 Answers  


How to include or exclude specific variables in a data set?

0 Answers  


Explain the main difference between the sas procedures and functions? : Sas-administrator

0 Answers  


Categories