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

Where we use data driver in qtp?

793


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1748


What is reusable action?

798


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

3115


How to Test the mainframe application?

2058


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

2116


What are the benefits of qtp?

753


What is the XML file architecture ?

1770


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1622


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1722


What are the Test design techniques you uses in ur project?

1703


What are main panes available in qtp test browser?

723


In qtp, how you can remove the spaces from string?

763


What is the descriptive programming?

1775


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2335