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 |
Could you please suggest a book to start with QTP and also a book for advanced concepts?
Explain the concept of object repository & how qtp recognizes objects?
How do you invoke an application using the step generator in qtp?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
how do you configure QTP AND Test director?
what are the main differences between keyword driven frame work and data driven frame work?
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?
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).
What is the difference between run time object and test object?
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
describe some problems that u had with automating testing tool?
What is the process of synchronizing qtp and aut?