Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / manish
a = inputbox("enter a string or no.")
b = len(a)
For i = 1 to b
c = mid(a,b,1)
d = d & "" & c
b = b -1
Next
msgbox d
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why to use option explicit in vb script?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
Mention characteristics of sub procedures?
What is vbscript language used for and which earlier language is it modeled upon?
What is the main difference between function and sub-procedure?
If else for do while select in vb script?
How can constants be declared in the vbscript language?
can anyone tell me the procedure of interview held in applabs
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
What's the difference between vbscript and vb.net?
Why is error handling required?
What is the output of a + b in vbscript if a = 5 and b = 10?
How will you get the smallest subscript of an array in vbscript?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function