I have a string "Redfort is in Delhi" how do u write
vbscript for " Delhi in is Redfort"

Answer Posted / ashish wadhwa

A="Redfort is in Delhi"
b=Split(A, " ")
For i=0 to UBound(b)
result=result&" "&b(UBound(b)-i)
Next
result=Trim(result)

Try this it will work

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1863


can test automation improve test effectiveness?

1478


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1728


hou can we use vb script in qtp could u tell me breafly

1726


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

606






we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1624


How you will rate urself in QTP in the range of 0 to 5

1739


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1569


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1565


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1421


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1662


What is the use of text output value in quicktest professional?

497


Write a script to customize the test results in PDF and HTML format.

2076


What is the difference between run time object and test object?

569


Explain qtp(quick test professional)?

568