Given a string variable contain a full name (last name,
first name), using vbscripting, how can you extract first
and last name and save them into two different variables.
Answer Posted / naveen arora
fullname = "Arora Naveen"
last = Left(fullname, InStr(1, fullname, " "))
print last
first = Right(fullname, InStr(1, fullname, " "))
Print first
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How to associate shared object repository to test in qtp?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How to use actions in qtp ?
What are the differences between quicktest professional (qtp) and winrunner?
What are some test assets and related extensions of qtp?
Problem with XML checkpoint in QTP ?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
How to execute a winrunner script in quicktest professional (qtp)?
give me an example where u used good judgement and logic in solving a problem
how to test load test and block box testing an a web based application pls give ans briefly
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Can the user toggle between using Local OR and shared OR for the same action?
How did you resolve conflicts present in Object Repository?
What are the differences between table and db checkpoints?