Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / kiran
dim number
number = inputbox("enter any number")
strlen = len(number)
for i = 1 to strlen
revnumber = mid(number,i,1) + revnumber
next
msgbox revnumber
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
did any one attended interview in applabs if you had gone through plz tell me the procedure
What's the difference between vbscript and vb.net?
How to Enter Values on the Command promt using VB script
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
How can you fetch the value of a cookie?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Explain about arrays in vb script?
How will you reverse a string in vbscript?
How will you get the natural logarithm of the given number in vbscript?
How will you compare two strings in vbscript?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How will you get a random number between 0 and 1 in vbscript?
How can you destroy an object in vbscript?