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 different checkpoints in qtp.
Explain object spy in qtp.
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
How to integrate the qualitycenter with qtp
How to call a test from another test?
What is the parameterization?
how to create flat file datasubmission in qtp
What do you mean by checkpoints in qtp?
how to test Web application using QTP software
what is defenetion of kiran can u tell me plz CVS, SVN
Who uses qtp tool?
What is the short cut keys for the following?
What are the differences between quicktest professional (qtp) and winrunner?
What is Test Fusion Report in QTP?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...