Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / kiran
dim number
number = inputbox("enter any number")
strlen = len(number)
for i = 1 to strlen
revnumber = mid(number,i,1) + revnumber
next
msgbox revnumber
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the output of a + b in vbscript if a = 5 and b = 10?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
Explain the asc function?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
What are the advantages of vbscript?
what is the standards used for writing the script in QTP
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
what is the use of QCUtil? explain with one example?
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 replace junk code recorded by QTP with a mall function.
Mention what is the difference between vbscript and vba?
What is the difference between function and procedure?
How will you get the natural logarithm of the given number in vbscript?
How will you get a combined string from array of string in vbscript?
how to increasing the numbers in a given text box please write a vb script