write the code to reverse a string without using Strrev
built in function.
Answer Posted / uday
All the above answers uses one the other string functions
like mid, len, instr.
But we can reverse a string without using any string functions.
Looks interesting? Try the below code:
str="Hello Uday"
Set regExpObj=new RegExp
regExpObj.pattern="[a-z A-Z]"
regExpObj.global=true
Set matches=regExpObj.execute(str)
For each letter in matches
result=letter.value&result
Next
print result
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
How to use output values in qtp ?
How is a Step generator used in UFT?
Hi, how can we check or avoid the memory leakage in QTP9.2?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
What is standalone database?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Can we Test Welcome Screens and Process Images with QTP
How to use actions in qtp ?
what type of automation is follwed in the project?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
How do you test DLL files using automation Tool QTP?
Where you are storing your script?