write the code to reverse a string without using Strrev
built in function.
Answer Posted / jay prakash
Try this:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''Script Starts Here''''''''''''''''''''''''''
Dim i
Dim iStrLen
Dim strOut
Dim strTmp
Dim strMyString
strString=InputBox("Please enter the string to be
reversed:")
iStrLen = Len(strString)
For i = 0 To Len(strString) - 1
strOut = Mid(strString, iStrLen - i, 1)
strTmp = strTmp & strOut
Next
strMyString = strTmp
msgbox strMyString
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''Script Ends Here''''''''''''''''''''''''''
Please let me know if it helps
Is This Answer Correct ? | 32 Yes | 5 No |
Post New Answer View All Answers
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
What does it mean when a check point is in red color? What do you do?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How to create a standard checkpoint ?
What is the architecture of your project? Can any one answer for this question plz........
How does quicktest professional (qtp) identifies the object in the application?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
Object repositories types, which and when to use?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
What are the 3 main stages involved in testing with qtp?
give me the code to save all messages of inbox of gmail into a folder and notepad
What is different command used in command Prompt while using QTP?
please post the interview questions for QA position in FACTSET