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
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 | 1 No |
Post New Answer View All Answers
What is the differences between image check point and bit map check point?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Explain the difference between call to action and copy action?
What is qtpro? What is quick test pro?
What are main panes available in qtp test browser?
how to create flat file datasubmission in qtp
What is a quick test professional?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
What is the registration process and examination fees?
What are the recording modes in wave event?
What is action?
What are the Application Functions available in QTP?
how did u use automating testing tools in ur job?