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 use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is the use of Debug Viewer?
What are the different types of action?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
Can you brief the hurdles you faced during Automation testing?
How to test background color and dynamic images during run time can you put the check point for moving objects?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
How many ways is to parameterize the value?
What is fragmentation and paging?
What are the types of properties that quick test learns while recording?
Mention the test steps of qtp.
What is a recovery scenario?
What are the different types of recording modes in qtp? Which will be used when?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION