reverse the string without using reverse string?
Answer Posted / cnu_thatavarthi
Option Explicit
Dim strValue,iCount, strNewValue
strValue = "CapGemini"
For iCount = Len(strValue) To 1 Step -1
strNewValue = strNewValue& Mid(strValue,iCount,1)
Next
strNewValue = Trim(strNewValue)
MsgBox strNewValue
'Expected value
---------------------------
---------------------------
inimeGpaC
---------------------------
OK
---------------------------
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can automation testing find ssame no. of bugs what we can find by manual testing?
who will create the object?
How to Enter Values on the Command promt using VB script
Mention what is the use of option explicit in vbscript?
Explain about tristate constants?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
What is the use of the formatdatetime function in the vbscript language?
Does VB/Win make standalone .EXE files?
How to open a file. What is the perpose of true and false mode there?
what is diff between static and dynaic arrys?
How to add actions in driver script to run those actions in QTP?
Why to use option explicit in vb script?
What are the disadvantages of vbscript?