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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
How many check points are there in QTP and what are they?
What are the Disadvantages of shared object repository?
Which scripting language used by quicktest professional?
difference Between Call Run action and copy of action?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
What is the difference between wait and synchronization point?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
what is key word driven frame work how to use keyword driven frame in QTP in a project
Can any one please explain hwo to test client/server application using QTP?
if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?
anyone can explain about "Hybrid framework" in QTP
What is deference between normal QTP testing and descriptive programming?