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
Which loop is used in case of arrays in the vbscript language?
What is the difference between function and procedure?
What are keywords in the vbscript language?
What are the 2 ways to pass a value to the function?
What is the difference between for loop and while loop?
How will you reverse a string in vbscript?
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
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Explain the filter expression?
What is the event handling in vbscript?
what is used of Property........End Property loop ? how to write the script for it?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Which operator is used to concatenate the 2 values in the vbscript language?
about vb scripting programs this type of all question& answers
What is vbscript procedures?