Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / manish
a = inputbox("enter a string or no.")
b = len(a)
For i = 1 to b
c = mid(a,b,1)
d = d & "" & c
b = b -1
Next
msgbox d
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Out of the different type of operators, which are evaluated first and last in the vbscript language?
what is the difference between modular and data and keyword driven framework
How will you get the exponent of the given number in vbscript?
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
How can constants be declared in the vbscript language?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
What is the purpose of the err object in the vbscript language?
What is the use of the date function in the vbscript language?
Explain about arrays in vb script?
Explain the constants in vbscript?
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 are the different types of operators and their order of precedence?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder