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
Hi,All How to create a link in excel sheet using qtp
how to disable the pop ups through QTP using a script
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How to use output values in qtp ?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
Where we can use the analog mode and where we can use the low – level mode?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
What is quicktest professional (qtp)?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Explain the check points in quicktest professional (qtp)?
What is checkpoints for quicktest professional (qtp)?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
Explain Descriptive Programming Types with Examples?
Hi ,Can any one pleas explain how to test splash objects using QTP?
what kind of frame work you used in your last project?