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

Answer Posted / dhakshna

str= "Redfort is in Delhi"
arr= split(str," ")
For i =ubound(arr) to lbound(arr) step -1
res = res&" " &arr(i)
Next
msgbox res

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1482


Whats the realtime QTP testing process

1991


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2753


How you know that a test case is a regression test case

3059


Please guide me release notes of Automation once scripts are completed

1464






WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1707


is there any addin for remedy user application

1744


How can you handle exceptions in qtp?

534


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2256


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6660


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1571


Why we load add-ins in qtp?

624


Get the count of files of similar types from a folder.

975


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1281


whare exactly we have to use functions and sub routain

1846