how to reverse the string without using bultin functions(i.e
mean mid,len ,reverse functions)

Answer Posted / bantanahal haribabu

using regular exp=======
set Obj=New RegExp
Obj.pattren="[a-z]"
obj.global=true
set obje1=obj.execute(str)
for each letter in obje1
result=letter.value&result
next
print result

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we record using all the modes in a single script? Explanation with example is appreciated

1384


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1604


What is the difference between a Function and Action in QTP?

585


Approach for Installation,comaptibility,system testing

1701


Can any suggest me what is exposure testing?

1374






What is contained in the object repository?

613


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1441


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

1552


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1518


what is the hierarchy to use properties in descriptive programming

1496


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4692


What are the common defects found in your project? (in qtp interview)

1612


Explain the types of object repository?

552


What is recovery scenario manager? When you go for recovery scenario manager?

588


Mention what are the different types of recording modes in qtp? Which will be used when?

557