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
Explain about .wsf files?
What are the properties of regexp object?
Which operator is used to concatenate the 2 values in the vbscript language?
How can you create an object in vbscript?
what is resorceallocation
Mention what is select case statement?
Explain about scrrun.dll in vbscript?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
What are the different types of operators and their order of precedence?
How are comments handled in the vbscript language?
What is Procedure or Subroutine in VB Script?
Explain about the asc function?
Explain about the functionality of vb script?
Which function allows you to instantiate an object given its programmatic identifier or progid?