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 / 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

Which loop is used in case of arrays in the vbscript language?

951


What is the difference between function and procedure?

1209


What are keywords in the vbscript language?

1027


What are the 2 ways to pass a value to the function?

953


What is the difference between for loop and while loop?

1038


How will you reverse a string in vbscript?

1140


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

2184


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

3018


Explain the filter expression?

1079


What is the event handling in vbscript?

977


what is used of Property........End Property loop ? how to write the script for it?

2244


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

994


Which operator is used to concatenate the 2 values in the vbscript language?

1002


about vb scripting programs this type of all question& answers

2128


What is vbscript procedures?

1134