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
Define Environment Variable in UFT and its uses?
When should I use smart identification?
Explain step generator in qtp?
Which recording modes need more memory?
What is the difference between the keyword view and expert view?
Write a QTP script to enter a keyword in to Google search engine?
Hi,All How to create a link in excel sheet using qtp
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What are some test assets and related extensions of qtp?
How can get count of list box?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Problem with XML checkpoint in QTP ?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
What are the different types of recording modes?