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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / litan

x="Redfort is in Delhi"
a=split(x," ")
msgbox a(3)&" "&a(2)&" "&a(1)&" "&a(0)

just check it out..
its workin properly

Is This Answer Correct ?    4 Yes 2 No

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

Answer / ashish wadhwa

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

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More QTP Interview Questions

What is the "Release Notes", what it cosists? Key components in Release Notes ?

2 Answers  


What is the use of Accessibility check point?

8 Answers   BirlaSoft,


what kind of frame work you used in your last project?

0 Answers   Deloitte,


What is the default object synchronization timeout in qtp?

0 Answers  


is it possible to add sheets to excel at runtime

1 Answers  






Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.

1 Answers  


What is runtime objects and test objects? What is the difference between them?

7 Answers   IBM,


HI! I have completed my testing course in 2008. but now am working in banking sector as a data analyst and i want to move to an IT based company but am unable to understand whether i have to complete the testing course again and try for a job .

1 Answers  


How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared

4 Answers   Tavant Technologies,


anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example

2 Answers  


wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference?

2 Answers   Datamatics,


What is quick test pro?

0 Answers  


Categories