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
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
What are the different types of operators and their order of precedence?
Compare java script and vb script?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Which operator is used to concatenate the 2 values in the vbscript language?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Explain about filter expression?
How will you get the exponent of the given number in vbscript?
What is the purpose of regexp object in vbscript?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
What are the 2 ways in which a variable can be declared in the vbscript language?
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?