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
Have you used xml check point in your project? How?
How does qtp identify the object in the application?
What is the difference between qtp and selenium?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
What are the steps involved in recovery scenario wizard?
What environment does qtp run in?
what type of framework u r using in ur organization
What are the features and benefits of quick test pro (qtp 8.0)?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
What is the file extension of the code file and object repository file in QTP?
What is difference in global and action sheet in qtp?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What is output value? How many types of output values are there in qtp?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
Thanks....But can u tell me how i use the QTP for GIS with one Example...