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

Answer Posted / abbas

Var1="Quick Test Professional" 'Store String In One Variable

Arr=Split(Var1, " ") 'Split String By Space

For i=UBound(Arr) To 0 Step -1 'Run A Loop
Var2=Var2 &Arr(i) &Space(2)
Next

Msgbox Var2

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is QTP supports Unix. If yes, then how the test automation is done?

1728


How to handle the exceptions using the recovery scenario manager in qtp?

571


images are dynamically changes how to compare two images with out using the bitmap

2007


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

563


What is the use of Debug Viewer?

1490






what is the diff b/w assistive and mandatary rules of object repository in QTP???

1614


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

656


how can we do the frame work in qtp

1606


Explain the concept of object repository & how qtp recognizes objects?

572


desribe a situation where u faced a stressful situation and how did u cope with it

1411


how do i know how to use tools

1455


How does qtp identify gui object?

586


Define Canvas view of UFT?

620


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3596


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

576