write string reverse prog using vb script with out using
string reverse statement();
Answers were Sorted based on User's Feedback
Answer / uday
str="uday"
msgbox strreverse(str) 'just for info sake.
'this is the script
For i=len(str) to 1 step -1
resultchar=mid(str,i,1)
result=result+resultchar
Next
msgbox result
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ankarao
str="Ankarao"
l=len(str)
for i=n to 1 step-1
res=mid(str,i,1)
rev=rev+res
next
msgbox rev
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jagadish
str = "jagguvamsee"
n=len(str)
for i = 1 to n
a = mid(str,i.1)&a
msgbox a
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lak
str ="Lakshmi"
For i=1 to len(str)
strrev = mid(str,i,1)&strrev
Next
msgbox strrev
| Is This Answer Correct ? | 0 Yes | 0 No |
Can any one send me the QTP Basic Coding Samples?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
how will you check how many members visited the website www.infosys.com?
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
what is test scheduleling?
How to save your test using quicktest professional (qtp)?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?
What is the extention of Virtualobject
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
How you can make an action as re-usable action?
Hi every body, I am new to QTP.pls help me if anybody knows the solution. Here is my doubt: I have 3 excel sheets in my local drive out of which one is password protected and i want to get the data of all these xL's either by importing or by reading the data finally i have to update this data in the website.(and the site is secured site) I tried by importing all XL"s one by one but couldn't do so. plss send me the code or atleast suggest me the approach. Thanks in Advance Padmaja