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
What are the new features included in the new version of SAS Programming Language?
what do the mod and int function do? What do the pad and dim functions do? : Sas programming
how many types prompting framework can be broken down to? : Sas-bi
What Proc glm does?
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
Differentiate input and infile.
Can you suggest us materials for sdtm mapping?
What is the basic structure of the SAS base program?
what are input dataset and output dataset options? : Sas programming
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? : sas-macro
Enlist the functions performed by sas.
I need level 2 to 5 sas using companies in india
how does sas handle missing values in formats? : Sas programming
Differentiate between sas functions and sas procedures.