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 / neeraj chauhan

Dim str, str1
str="john"
str1=mid (str, 1,1)
msgbox str1

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference betn QTP 8.0 AND PREVIOUS VERSION

1957


Is it possible to switch between recording modes during a test creation?

594


Explain the check points in quicktest professional (qtp)?

561


what is meant by Implicit and explicit requirements?

3628


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1590






How to build scripts that access data from external sources?

1614


What is the difference between local and shared object repository in qtp?

567


How to associate function library at a run time?

709


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1469


Give the syntax to import/export xls into qtp.

588


How can I check if a environment variable exist or not?

544


How to connect to a database?

581


What is the extension of the recovery scenario file in qtp?

548


Explain how Does Run time data (Parameterization) is handled in QTP?

559


How do we analyze the checkpoint results?

588