write a vb script to display the reverse of vbs

Answers were Sorted based on User's Feedback



write a vb script to display the reverse of vbs..

Answer / mudaseer

msgbox strreverse("vbs")

Is This Answer Correct ?    4 Yes 0 No

write a vb script to display the reverse of vbs..

Answer / mudaseer

Option Explicit

Dim MyStr, char, NewStr, x, y

MyStr = "vbs"

y = Len(MyStr)
For x = y To 1 Step -1
char = Mid(MyStr,x,1)
NewStr = NewStr & char
Next

msgbox newstr

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More VB Script Interview Questions

Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

0 Answers   Tech Mahindra,


Is VBscript case-sensitive?

3 Answers  


How to create a cookie using vbscript?

0 Answers  


Which is the default Data types in VBScript?

5 Answers  


write a vb script to display the size of the folder,date created and name of the folder

1 Answers  






write a vb script to find the size of d drive?

3 Answers  


write a program to display the system specifications of client system with the help of vb script.

1 Answers  


What is the use of option explicit in vbscript?

0 Answers  


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

0 Answers  


Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<<The data retrieved from data base >>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

0 Answers  


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

0 Answers   Nous,


Categories