how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"
Answer Posted / lak
Reverse a string without using String Functons
(mid,split,len..)
str=" i love india"
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
msgbox result
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What test cases can you automate using QTP?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
Is any limitation to xml checkpoints?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
How qtp identifies objects?
What is smart identification in QTP?
How may types of defects identify application or your currently working application?pls give me answer..
Whats the realtime QTP testing process
Explain measuring transaction.
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
What the differences are and best practical application of Object Repository?
How do we analyze the checkpoint results?
How can you handle exceptions in qtp?
Can we create user defined functions in qtp?
what is supply chain management?