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
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.
about vb scripting programs this type of all question& answers
What are events in the vbscript language?
How are arrays declared in the vbscript language?
What are the valid scopes of a variable in vbscript?
Mention what if you do not specify anything when you call a procedure?
Mention what is variant in vbscript?
Mention what is the main difference between function and sub-procedure?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
How to pass argument by reference to a function in vbscript?
What is the use of option explicit statement?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
What is vbscript?