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 should test in BANKING DOMAIN application ?

2 Answers   TCS,


how do pass parameters from one action to another action

2 Answers  


What is regular expression?

0 Answers  


how to retrieve the column headers in database using vbscript statement in QTP

1 Answers  


Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone

1 Answers  






What is the difference between QTP 8.2 and QTP 9.2

0 Answers   Nokia,


Waht is User interface and Integration Testing?

1 Answers  


I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?

2 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

4 Answers  


How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.

2 Answers   Accenture, CSC,


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

0 Answers  


How do you know the location Id of an object if you know its index id?

0 Answers  


Categories