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 VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642

Answer Posted / anil

Dim x,y,n
x=246
n=len(x)
for i=1 to n
y=mid(x,i,1)+y
next
msgbox y

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

2110


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3710


Write a code to print numbers from 5 to 0?

1104


What is the difference between a dictionary and an array?

1026


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

935


When are redim statement and preserve keyword used in the vbscript language?

1009


What is the main difference between function and sub-procedure?

1013


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

2810


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

1915


What are string functions in vbscript?

1127


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

2107


How to replace junk code recorded by QTP with a mall function.

2045


Explain the functionality of vbscript?

906


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

2030


How will you release the memory acquired by an array variable in vbscript?

1189