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 the exception handling can be done using quicktest professional?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
How do Parameterization and Data-Driving relate to each other in QTP?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
what is the difference between built-i function and In-built function?
What is the default add-ins in qtp?
Explain how qtp identifies object?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Write a script to customize the test results in PDF and HTML format.
How QTP identify the system time that's changes every seconds?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
distinguish between old version and new version QTP features.
How will you test a stapler?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
Explain types of output values?