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
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
How to suppress warnings from the test results page?
What is the file extension of the code file and object repository file in QTP?
Shall we add Local Repository to shared object repository,if yes,how we add
How to customize checkpoints with parameters?
write a script to verify the image path(src property) of the images which are in web pages.
Can we create a qtp test from qc?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
Can we Test Welcome Screens and Process Images with QTP
How to use output values in qtp ?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How to start recording using quicktest professional (qtp)?
What is standalone database?