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
What are the differences between quicktest professional and winrunner?
how interviews will be on QTP?
How to test login module with different username and password by using data driven testing in QTP?
what is actually contain test report? can anybody post the test report
Explain process of smart Identification in QTP?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
hou can we use vb script in qtp could u tell me breafly
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
Explain calling sub procedure.
Explain how Selenium is different from UFT?
What is clean sweep?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How many types of parameters are available in quicktest professional?