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
What is quicktest professional window?
whow much strong on VB and C?
What is a reusable action?
What is different command used in command Prompt while using QTP?
What are the steps involved in recovery scenario wizard?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
How to export quicktest professional results to an .xls file?
What is recovery scenario manager? When you go for recovery scenario manager?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
In qtp, how you can exit for loop?
How can get count of list box?
What is Test Fusion Report in QTP?