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
what is the differance between BYVAL,BYREF?
How are values assigned to string type and numeric type variables?
How to replace junk code recorded by QTP with a mall function.
Explain about the extension .hta?
Explain sga memory structures?
Mention what is the difference between vbscript and vba?
How will you get a combined string from array of string in vbscript?
How many types of procedures are available in the vbscript language?
How to capture a runtime error in vbscript?
Can u describe what kind of testing are for OTC derivates by banks.
When are redim statement and preserve keyword used in the vbscript language?
Differentiate javascript and vbscript?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Can automation testing find ssame no. of bugs what we can find by manual testing?
Which operator can be used to change the value of the operand or change the state of the condition?