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"
Answers were Sorted based on User's Feedback
str=" i love india"
StrSpl = Split(str," ")
For j = 0 to Ubound(StrSpl)
result1 = result1 & " " & ReverseStr1(StrSpl(j))
Next
msgbox result1
Function ReverseStr1(Str1)
For i = 1 to Len(Str1)
ReverseStr1 = mid(Str1,i,1) & ReverseStr1
Next
End Function
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).
How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?
Write test cases for copy and past password in password field ?
How will you set a unique four digit number in an edit field in QTP?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password
How to retrive the property of an object?
why we use sendkey method in qtp?
How to save your test using quicktest professional?
How to connect QTP to Testdirector