Could Anybody tell me the Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.

Answers were Sorted based on User's Feedback



Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Than..

Answer / mudaseer

msgbox strreverse("246")

Is This Answer Correct ?    2 Yes 1 No

Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Than..

Answer / rajani_kanth

x=246
y=len(x)
For i=y to 1 step-1
c=mid(x,i,1)
d=d&c
Next
msgbox d

Is This Answer Correct ?    0 Yes 0 No

Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Than..

Answer / 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

More VB Script Interview Questions

Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


How to capture a runtime error in vbscript?

0 Answers  


w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

2 Answers   Cap Gemini, iGate,


How to open a file. What is the perpose of true and false mode there?

0 Answers  


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

0 Answers  






Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


Mention what is vbscript procedures?

0 Answers  


how to display all the links in one page using vb script in qtp.

1 Answers   DST Global Solutions,


Check whether given Number is Even or Odd?

2 Answers   HDFC,


Which function is used in the vbscript language to convert the specified expression into a date type value?

0 Answers  


1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting

3 Answers  


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


Categories