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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

1871


describe about metadata object? : Sas-di

815


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

1839


Difference between nodup and nodupkey options?

859


what is the purpose of _error_? : Sas programming

843


What are the data types in sas?

807


What are the ways in which macro variables can be created in sas programming?

779


what is study design in while working with SAS? what are screening variables in SAS?

1907


Hi all, If Anybody has Advance SAS Certification dumps??? Please share with me. Email: pramod.kalugade03@gmail.com

1809


how do you debug and test your sas programs? : Sas programming

833


What is the role of administrative users? : sas-grid-administration

861


how are numeric and character missing values represented internally? : Sas programming

854


Explain what is the use of proc gplot?

911


explain about sas business intelligence? : Sas-bi

816


Are you involved in writing the inferential analysis plan? Tables specifications?

3693