Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642

Answer Posted / arpita

n=123
Do While n>0
i=n mod 10
vstr=vstr&i
n=n\10

Loop
msgbox vstr

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass argument by reference to a function in vbscript?

540


How will you check that a variable is an array in vbscript?

546


How can you fetch the value of a cookie?

550


What is purpose of scripting.filesystemobject class in vbscript?

629


Differentiate javascript and vbscript?

567






What is the purpose of on error resume next statement?

579


How will you convert a given number to long in vbscript?

494


1. How do declare public variable in vb scripts?

1579


Explain the tristate constants in vbscript?

563


What purpose does ‘on error resume next’ serves?

553


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1590


what is the difference between modular and data and keyword driven framework

1745


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

546


How you can call vbscript functions?

581


Illustrate briefly about the different types of statement

2027