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
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
What are the various automation frameworks available in qtp?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What is debugging? How you debug your script?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
What is qtpro? What is quick test pro? What is a quick test professional?
How to add verification steps to tests?
What are the ways you can synchronize?
How qtp recognizes the object?
Please guide me release notes of Automation once scripts are completed
What are the types of properties that quick test learns while recording?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How to creating an output value using quicktest professional?
What are the flaws in water fall model and how to overcome it?
describe some problems that u had with automating testing tool?