Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain about arrays in vb script?

1122


Mention the rules for using option explicit statement?

1064


Explain the filter expression?

1154


How will you reverse a string in vbscript?

1215


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

2524


Explain the .wsf files?

1036


Can anyone send me a vb script function for verifying the functionality of active links on a web page

2089


What is the purpose of regexp object in vbscript?

1079


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

1028


Explain about filter expression?

1059


Mention characteristics of sub procedures?

1100


How will you get the natural logarithm of the given number in vbscript?

1113


How will you format a number in percetage format in vbscript?

1042


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

1014


Explain about tristate constants in vbscript?

1133