How to find given string is palindrome or not without using
strreverse() function?
Answer Posted / amiricks
Hi Nitin concept is correct but above code is not working fine
as it shows only not a palindrome....
here i have written one simple code any suggestions are most
welcome
val = Inputbox("Enter any string")
L= LEN(val)
for i = L to 1 step -1
v= mid(val,i,1)
va = va&v
Next
if val= va then
msgbox "Name is a Palindrome"
Else
Msgbox "Not a palindrome"
End if
Regards
Amit
umesh.amitkumar@gmail.com
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What are the benefits of qtp?
Which scripting language used by quicktest professional (qtp)?
What is QTP scenario.
Explain the Different types of QTP test assets and their extensions?
how will you check how many members visited the website www.infosys.com?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
why you have standardized functions? plzzz guys with real time exp. do answer
Is it possible to call from one action to another action in qtp?
What is action? How many types of actions are there in qtp?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Through array we can execute the testcase how ? give me example
Explain how you can delete excel file in qtp?
Explain the difference between check point and output value?
What is quick test pro? What is a quick test professional?