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 r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
What is the difference between the keyword view and expert view?
Explain xml checkpoints.
how to write xml output check point bu useing descriptive programing .means without useing output check point
What is the descriptive programming?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
How many types of actions are there in quicktest professional?
What is difference between design time and run time data table?
What is the expert view?
How qtp recognizes the object?
Explain different type of event trigger option.
What is text/text area checkpoint?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Why bpt?
What are the different properties of an web object