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

how to assign a macro value to a variable?

8 Answers   CitiGroup,


When merging 2 datasets with a common variable (not merge key), how to keep both?

3 Answers  


Give an example where SAS fails to convert character value to numeric value automatically?

0 Answers  


What is PROC in SAS?

0 Answers  


where to use sas business intelligence? : Sas-bi

0 Answers  


What is program data vector (pdv)?

0 Answers  


tell me about use of arrays in sas

1 Answers   CoreEL,


Hi, I have one dataset like id date ex: id date 1 13 1 13Oct2011 2 14 2 14Oct2011 3 15 3 15Oct2011 --->this is the current date here i want date format like 13Oct2011,14Oct2011 how we can modify the numeric to date format plz answer.

4 Answers  


Name and describe three SAS functions that you have used, if any?

2 Answers  


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

0 Answers  


Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT SAS Training in Data Management at InfoSchool Bangalore

1 Answers  


Describe what are the different levels of administrative users in sas? : sas-grid-administration

0 Answers  


Categories