how to reverse the string without using bultin functions(i.e
mean mid,len ,reverse functions)

Answer Posted / kishan

'how to reverse the string without using bultin
functions(i.e mean mid,len ,reverse functions)

option Explicit

Dim Str, Reverse, i

Str = "India"
Reverse = ""

msgbox len(Str) 'returns 5

for i=len(Str) to 1 step -1

Reverse=Reverse&mid(Str,i,1)

next

msgbox Reverse

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use debug tools?

2458


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

3054


What are the flaws in water fall model and how to overcome it?

797


In qtp, explain what is crypt object

831


Whether qtp 9.0 supports Test director8.0

2362


What are the advantages of parameterization ?

832


If I give some thousand tests to execute in two days what do you do?

814


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3293


How to check feasibility of the appliction?in automation testing?

1743


How to use checkpoints in qtp ?

789


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1554


How you can delete excel file in qtp?

839


What is the extension of qtp local repository?

795


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1827


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1663