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 / mogal
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 |
Post New Answer View All Answers
please any one can explain the keyword driven framework. with gmail example.
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What are main panes available in qtp test browser?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
How many types of status are there?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
How can you exit from an action?
What are the different types of qtp test assets and their extensions?
Limitations in QTP?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
Why we load add-ins in qtp?
What VBScript operators, functions, and statements do you use in QuickTest Professional?