write the code to reverse a string without using Strrev
built in function.

Answer Posted / prathyusha

without using built-in function we can go for RegExp.

str="Hello"
set oreg=new reg exp
oreg.global=true
oreg.ignorecase=true
oreg.pattern="[.]"
set omatches=oreg.execute("str")
for each match in omatches
res=match&vbcrlf&res
next
msgbox res

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1711


How to use reporter.report event in qtp ?

529


The hybrid framework can be implemented for any application. Is it true?

567


What are the different attributes used with regular expression?

522


unique properties of button,edit box, radio button,check box?

3788






Which functionalities of QTP used in banking project?

1888


What is post recovery scenario?

1620


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1656


How may types of defects identify application or your currently working application?pls give me answer..

1492


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2405


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1520


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2438


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1550


How many types of run modes are there in qtp?

558


What are the various types of Actions in UFT?

562