Reverse a string keeping the words in the string as it is.
E.G. "Quick Test Professional"
O/P "Professional Test Quick"



Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / gaurav sharma

Dim strVar

strVar = "Quick Test Professional"
strRevrs = ""

strSplit = Split(strVar," ")

For iLoop = Ubound(strSplit) To Lbound(strSplit) Step -1

strRevrs = strRevrs&" "&strSplit(iLoop)

Next

MsgBox strRevrs

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is quicktest professional (qtp)?

0 Answers  


write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?

1 Answers   TCS,


What is method name to compare two XML files.

0 Answers  


What is keyword driven testing..what is the use of this in Automated testing

2 Answers   IBM,


What are the main features we have to compulsory test by using qtp in an web based application

1 Answers  






Tell about descriptive programing in qtp8.2?

4 Answers   GE,


what is the Vbscript to connect Database

5 Answers   IBM,


Kindly help me with the following queries.. -- How to recognize webtable using QTP and how to use it? -- How would one conclude that it is a web table -- For Example, if there is a web table and I am clicking on say Cell A1, how would i know that i've clicked on cell A1 -- Kindly suggest me to use the web table better

1 Answers  


What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


How to find a window is minimized or not

0 Answers  


Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?

10 Answers  


what is ODC and GDC?

0 Answers   Patni,


Categories