Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642

Answer Posted / naga siva sankar

val=246
valstr=cstr(val)
msgbox strReverse(valstr)

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the extension .hta?

620


what is the object hyrarchy in QTP for a web based application

1881


What are class properties?

650


How to open browser in vb script?

582


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2552






What are lbound and ubound in the vbscript language?

602


what is resorceallocation

1772


What are the environments supported by vbscript language?

503


How will you get a string with the specified character the specified number of times in vbscript?

571


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

1416


When does ‘on click of button’ event gets triggered in the vbscript language?

543


What is the purpose of on error resume next statement?

575


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

1869


Out of the different type of operators, which are evaluated first and last in the vbscript language?

561


How to get the length of the string by making use of the string function?

560