how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"
Answer Posted / ramesh
Str="I Love india"
arr1=split(Str," ")
for i=0 to ubound(arr1)
arr=arr1(i)
lenarr=len(arr)
if lenarr=1 then
sing=sing&arr&" "
End if
if lenarr<> 1 then
for j=lenarr to 1 step-1
val=mid(arr,j,1)
rev=rev&val&" "
next
end if
rev=rev&" "
next
msgbox sing&rev
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
how to prepared for first for the first interview?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
What is the architecture of your project? Can any one answer for this question plz........
Get the count of files of similar types from a folder.
Explain how Does Run time data (Parameterization) is handled in QTP?
What is quicktest professional (qtp)?
How do we analyze the checkpoint results?
What are the features and benefits of quick test pro (qtp 8.0)?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are test settings and global settings?