Could Anybody tell me the Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.
Answer Posted / vineet sharma
convert int to string first using cstr() function. then use strreverse() function to reverse the string and then use cint to conver back the string to integer.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to Import data from a file (file is on the desktop) to the data table
how to increasing the numbers in a given text box please write a vb script
How will you get the smallest subscript of an array in vbscript?
Differentiate javascript and vbscript?
What is the use of the instr function?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
What are the valid scopes of a variable in vbscript?
Description.Create
Explain some uses of vb script?
Explain the constants in vbscript?
How to access array data?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
What are the disadvantages of vbscript?