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
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
how does vb script help in web page designing? explain with example.
Mention characteristics of sub procedures?
Why to use option explicit in vb script?
How will you get a subset of a array in vbscript?
what is the differance between BYVAL,BYREF?
Explain what is loose binding? Why is it not a good practice to use it?
Why is error handling required?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Mention the rules for using option explicit statement?
can anyone tell me the procedure of interview held in applabs
Mention the environments where vbscript could be run?
What is the scope of a constant declared using public?