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 is output value in QTP and how it can be used in automation testing
how to prepared for first for the first interview?
Explain measuring transaction.
How to record application running on the Virtual machine?
What is the difference between Keyword Driven test and Data Driven test?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Write a QTP script to enter a keyword in to Google search engine?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
Shall we add Local Repository to shared object repository,if yes,how we add
What is action?
There is an excel file of 1 to 100 sheets how you will iterate through it?
How to find the name of the machine where you are running your automation scripts in qtp?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!