write string reverse prog using vb script with out using
string reverse statement();

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can delete excel file in qtp?

589


How many scripts did you have?

1691


How to use transactions in qtp?

555


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1565


What are the types of data tables in qtp?

577






What contains Data Driven Framework document in qtp?

1455


How to analyzing the checpoint results?

512


What is test object model in quicktest professional (qtp)?

540


What is the use of sendkeys and what are send keys

1943


How to interact tool & application build in QTP?

1454


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1897


Have you used xml check point in your project? How?

539


wt is the use of multiple questions in QTP

1671


How to execute a winrunner script in quicktest professional (qtp)?

509


What is parameter in qtp?

674