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
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 |
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 |
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 |
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 |
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id venku_krs@yahoo.co.in
How function returns a value?
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?
hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?
Explain roles and responsibilites of 2yrs Automation qtp engineer.
what are the metrics in general we use in testing.
what is the use of automation frame work ??(QTP)
How to handle the exceptions using the recovery scenario manager in qtp?
what is the another name for blackbox testing?
Differences between quicktest professional (qtp) and winrunner?