Reverse a string keeping the words in the string as it is.
E.G. "Quick Test Professional"
O/P "Professional Test Quick"
Answer Posted / manjunathareddy
Dim str
str=CStr(InputBox("Enter the String here"))
Arr=Split(str," ")
For i=UBound(Arr) to 0 Step - 1
var=var&Arr(i)&Space(2)
Next
Msgbox var
=====================OR======================
Dim str
str=Cstr(InputBox("Eneter the String here"))
a=Split(str," ")
Arr=Array(a)
Msgbox a(2)&" "&a(1)&" "&a(0)
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
How do client side image and server side image work?
What is difference between run time object and test object?
How are actions and functions different in QTP?
What is object spy in quicktest professional (qtp)?
tell me QTP standards ?plz
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
How do you capture tooltip using QTP?
What is the difference between the design-time and run-time data tables?
describe some problems that u had with automating testing tool?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Where to use Property Let, Property Get, Property Set in UFT
What is optional step in qtp? How you can add optional step in qtp?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)