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
Explain the extension .hta?
why do u choose to go for testing why cant for devoloping
What are the different types of operators and their order of precedence?
Illustrate briefly about the different types of statement
How are arrays declared in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
How can you fetch the value of a cookie?
Description.Create
How strcomp function works?
What are events in the vbscript language?
How do you declare a variable in vbscript?
How many types of procedures are available in the vbscript language?
Explain the scope of the variables using dim, public, and private keywords respectively.
did any one attended interview in applabs if you had gone through plz tell me the procedure
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.