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
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?
Explain about .wsf files?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
What is the extension of the vbscript file?
filter the array values without using filter function?
Which date function is used in the vbscript language to find the difference between the 2 dates?
What are the valid scopes of a variable in vbscript?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
What is purpose of scripting.filesystemobject class in vbscript?
Is VB Script Case sensitive or Case insensitive?
How to add actions in driver script to run those actions in QTP?
What is the difference between vbscript and vba?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Explain the extension .hta?
How are values assigned to the variables in the vbscript language?