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

How many lines of code in each script of QTP?

4036


How many tabs are available in debug viewer pane?

649


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2141


What is recovery scenario manager? When you go for recovery scenario manager?

592


What are the different recording modes?

562






Differences between quicktest professional (qtp) and winrunner?

621


Explain the difference between data driven testing and parameterization ?

585


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

611


To which environments does quicktest professional supports?

537


what is keyword driven testing in qtp?n how is it useful?

1491


please post the interview questions for QA position in FACTSET

3950


How can you exit from an action?

610


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

583


how can i call function (which has link with excell sheet at a remote location) within another function

1577


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

613