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 |
How to pass argument by reference to a function in vbscript?
VBscript for QTP,best tutorial?
There is a web Table where You will find Two Columns First Column consist of Check box and Second column consist of Test cases ID(Viz T1,T2,T3....Etc); If You select any Test case ID, respective Check boxes to be checked write a VBSCRIPT for this scenario?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
What is select case statement?
Mention what is byref and byval parameters in vbscript?
How can the spaces from the string be removed?
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is dictionary object in vbscript? Explain?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Hi, I need to accept user inputs for login at runtime.I know i can use Inputbox but how to proceed further that i dont know. Thanks in advance