Could Anybody tell me the Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.

Answer Posted / rajani_kanth

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

1541


how to automatically update the sql server2005 database records when insert in vb6?

1489


What are the different types of operators and their order of precedence?

574


How to make sure that items in a wintree are sorted al?

2358


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1247






What if you do not specify anything when you call a procedure?

540


How will you convert a string to lower case string using vbscript?

561


Difference between dim,public and private variables in vb script?

531


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

1576


What is the purpose of on error resume next statement?

579


why do u choose to go for testing why cant for devoloping

1594


Explain about tristate constants in vbscript?

620


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2066


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

4751


wht must be the interview question on corinthian information technology solutions incorporated.

2188