write a vb script to display apple that is 1st a should be
displayed then ap then app then appl then apple

Answer Posted / mudaseer

above answer is almost correct but there is one mistake

val="apple"
For i=1 to len(val)
val1=mid(val,1,i)
msgbox val1

Next

instead of msgbox he has used print

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1438


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("<>") 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

1773


Mention what is the technology used by vb script?

523


How are values assigned to string type and numeric type variables?

542


how does vb script help in web page designing? explain with example.

1590






How to take whole text output from screen of Bitmap Application.

1875


Which date function is used in the vbscript language to find the difference between the 2 dates?

597


Write a code to print numbers from 5 to 0?

687


Explain vbscript in detail?

619


Explain about the functionality of vb script?

576


What if you do not specify anything when you call a procedure?

542


What are the 2 ways in which a variable can be declared in the vbscript language?

568


How will you get the smallest subscript of an array in vbscript?

814


What are the environments supported by vbscript language?

508


Mention how to assign a date value to a variable?

590