Hello,
How can i capture first letter of any string using QTP.
For ex.. i want "j" in the below string
"john"
could any one explain me?
Is there any function for that?
Answer Posted / veeranki naveen goud
var = Ltrim (" Veeranki Naveen ")
'Ltrim is used to remove the left padded spaces
var2 = mid (var,1,1)
msgbox var2
OR
var = Trim (" John")
va2 = left(var,1)
msgbox var2
Regards,
Veeranki Naveen,
Noida.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are output values and why they are used ?
Describe the differences between functions and actions in UFT?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Key word driven framework
How to release all resources file from the QTP?
What are the key elements available in test result window?
What will be happen if i load object repository at run time, but it has already associated.
If object is not recognized by qtp but the object is standard object what is your approach?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Can any suggest me what is exposure testing?
What are the technologies supported by qtp?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Can we run multiple QTP scripts one after the other without manual intervention? How?