reverse the string without using reverse string?
Answers were Sorted based on User's Feedback
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 |
Option Explicit
Dim a,c,d,i
a="RajaniKanth"
For i=Len(a) To 1 Step-1
c=Mid(a,i,1)
d=d&c
Next
MsgBox d
| Is This Answer Correct ? | 0 Yes | 0 No |
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
How to add actions in driver script to run those actions in QTP?
write a vb-script code to delete all the mails in my gmail in the year 2011
How to take whole text output from screen of Bitmap Application.
How to Import data from a file (file is on the desktop) to the data table
How strcomp function works?
How to get path of the file through scripting?
How regexp.execute method works?
Is VBscript case-sensitive?
Description.Create
i need to sort the data using qtp script for this how i need to write a qtp script
write a vb script to display ***** ***** ***** ***** *****