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
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
Explain the concept of how quicktest professional (qtp) identifies object?
What are the different types of action?
What test cases can you automate using QTP?
How are actions and functions different in QTP?
How can I import environment from a file on disk?
can u please explain what is the exact difference between qtp8.2 and 9.0
How do you convert manual test cases to automated test cases?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
What is a reusable action?
How to use actions in qtp ?
How many types of parameters are available in quicktest professional (qtp)?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?