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 |
write a vb script to generate fibonnaci numbers
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How will you get the last occurrence of one string within another string using vbscript?
What is vbscript procedures?
Mention the rules for using option explicit statement?
What is the equivalent of VBScript?s On Error In Jscript ?
Could Anybody tell me VBScript for Check if a given number is Prime number-Don't use any Built- in Functions Boolean/int is Prime(int number).. Thanks in advance.
What purpose does ‘on error resume next’ serves?
Mention what is the use of option explicit in vbscript?
What are the valid scopes of a variable in vbscript?
How will you convert a string to lower case string using vbscript?