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 / uday
Use split method.
Here is the ex:
str="Uday,Anem" 'where Uday is first name and Anem is last
name
arr=split(str,",")
firstname=arr(0)
lastname=arr(1)
msgbox(firstname+" "+lastname)
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How to handle dynamic objects in quicktest professional (qtp)?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
Where we can use the synchronization?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
What is keyword driven framework?
Difference between test object and run time object?
Key word driven framework
desribe a situation where u faced a stressful situation and how did u cope with it
When Recovery scenario actually starts while testing the application?
How to remove the associated function library?
How will you test a keyboard?
What is standalone database?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
what is meant by source control?
What are advantages of test automation?