How to find given string is palindrome or not without using
strreverse() function?
Answer Posted / nitin jagjivan
Strng = "NITIN"
temp = "Pass"
dim arr()
Strng_Length = len(Strng)
redim arr(Strng_Length)
For i=1 to Strng_Length
arr(i-1)= mid(Strng,i,1)
Next
For i=1 to round(Strng_Length/2)
If instr(ucase(arr(i-1)),arr(Strng_Length-
i)) = 0 then
temp = "Fail"
End If
Next
If temp <> "Fail" then
msgbox "Given input is a palindrome"
Else
msgbox "Try another String, Not Pali"
End If
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Explain the parameter in qtp?
What is quick test pro? What is a quick test professional?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
Is it possible to call win runner script in qtp?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
How qtp recognizes the object?
What is difference between run time object and test object?
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
What is Test Fusion Report in QTP?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
whare exactly we have to use functions and sub routain
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How we can import data from database?
What is the latest version of qtp?