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 another name for blackbox testing?

7 Answers  


Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


what is defenetion of kiran can u tell me plz CVS, SVN

0 Answers  


Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )

2 Answers   FIS,


Difference between image checkpoint and bitmap checkpoint

2 Answers  






We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?

6 Answers   Kanbay,


How to get all the objects count and objects names in webpage using QTP ?

6 Answers  


i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.

1 Answers  


Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?

1 Answers   TCS,


object types is used for what?

1 Answers  


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

0 Answers  


What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,






Categories