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 many scripts did you have?

1693


How is the Bitmap checkpoint different from Image checkpoint?

619


When Recovery scenario actually starts while testing the application?

1543


Give me some real time point of way where exactly we can conduct audits?

1497


How to customize checkpoints with parameters?

3018






What is the basic concept of qtp?

573


What is CMMP and CMMH?

694


How many types of trigger events are there in qtp?

547


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

605


Explain the concept of how quicktest professional (qtp) identifies object?

573


What is text/text area checkpoint?

562


How will you declare a variable in qtp?

549


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

1851


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

1565


How can you identify the browser and its information using QTP script?

541