Could Anybody tell me the Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.
Answers were Sorted based on User's Feedback
x=246
y=len(x)
For i=y to 1 step-1
c=mid(x,i,1)
d=d&c
Next
msgbox d
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vineet sharma
convert int to string first using cstr() function. then use strreverse() function to reverse the string and then use cint to conver back the string to integer.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the difference between modular and data and keyword driven framework
Mention what is vbscript procedures?
How to pass argument by reference to a function in vbscript?
How can you have different number of cells for each row of a table in HTML?
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple
Explain few date functions in vbscript?
How will you get the octal value of the given number in vbscript?
what is event handling?
I have string like hp company.print tis like company hp.write a program in vbscripting
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in
what do you mean .ota mobile format
What are the naming conventions while declaring a variable in the vbscript language?