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
Is virtual object supported in low level recording mode?
diff between qtp versions from 8.5
What are the general steps involved in the data driven framework?
If you are testing a web application then what will you test in that application?
How smart identification works in qtp ?
If object is not recognized by qtp but the object is standard object what is your approach?
What are the different ways to invoke an application using QTP?
Explain the concept of object repository and how quicktest professional recognises objects?
We stored into the objects OR and then write the scripting
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
what is vmodel?advantages and disadvantages of vmodel?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
What is the use of ordinal identifier in qtp?
In qtp, explain what is qrs file?