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

What is different command used in command Prompt while using QTP?

1735


What is keyword view?

555


What is the use of sendkeys and what are send keys

1941


How to use reporter.report event in qtp ?

543


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1614






What are the different properties of an web object

1419


How to associate function library at a run time?

696


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2416


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1571


What is object repository in qtp?

551


How do you perform Regreession Testing?

1454


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2041


Hi Samrat, Thank u very much, what u said it is right.

1337


What are the technologies supported by qtp?

552


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1480