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

Answer Posted / amol zambre

str="236--678"
cnt=len(str)
for i=1 to cnt
rstr=mid(str,i,1) & rstr
next
msgbox rstr

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write functions and sub in vb script?

622


Which operator is used to perform the comparison among 2 operands in the vbscript language?

527


What is the difference between function and procedure?

572


What is the use of the formatdatetime function in the vbscript language?

552


Which event is triggered when mouse focus comes out of an element in the vbscript language?

509






How will you reverse a string in vbscript?

620


Explain about the asc function?

603


What are the environments supported by vbscript language?

506


What is the use of the date function in the vbscript language?

562


Mention what is the difference between vbscript and vba?

517


What is the use of the instr function?

581


What are the different types of loops available in the vbscript language?

532


How to add actions in driver script to run those actions in QTP?

1516


How to Import data from a file (file is on the desktop) to the data table

1580


Differentiate javascript and vbscript?

567