Answer Posted / mudaseer
Option Explicit
Dim MyStr, char, NewStr, x, y
MyStr = "vbs"
y = Len(MyStr)
For x = y To 1 Step -1
char = Mid(MyStr,x,1)
NewStr = NewStr & char
Next
msgbox newstr
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How will you get the exponent of the given number in vbscript?
What are the 2 ways in which a variable can be declared in the vbscript language?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
Mention what if you do not specify anything when you call a procedure?
Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it
Explain the adodb.stream class?
How to take whole text output from screen of Bitmap Application.
Explain some uses of vb script?
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is the difference between vb debugger and the script debugger?
Mention characteristics of sub procedures?
How will you check that a variable is an array in vbscript?
Explain the string concatenation function in vbscript?
What is the difference between for loop and while loop?
Mention when to use function procedures and what are its characteristics?