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
How to recognise the webelement and verifying that webelement is enabled?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Explain runtime dynamic settings?
If I change the object name in one action will it be updated in all the actions? Or not?
What is the qtp testing process?
Explain about Test Fusion Report of QTP?
What is the parameterization?
What is Port testing. Whhen will you perform?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
what is the difference btn risks & Therads in the Test plan documentation?
Which environments does qtp support?
what is the difference between the modular framework and datadriven frame work
What is the difference between run time object and test object?
Write a script to verify font style and color of a windows object using descriptive programming
Explain how you can find length of array in qtp?