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 |
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.
How can we do Data driven testing Using For loop in QTP?
How many number of actions possible in qtp?
After running scripts how you report results ,there is any specific report form
What is fragmentation and paging?
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???
What is exact difference between “while” and “do while” in QTP ?
Write script to fetch the data from global sheet where row number is 3 and parameter is "text"
3 Answers Accenture, Thomson Reuters,
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
What is the meaning Work bench?
what is compiled module?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?