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

Which operator can be used to do an xor operation in vbscript?

676


Mention what is the technology used by vb script?

523


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2020


How can you create a file object to work with the files in the vbscript language?

505


What are the advantages of vbscript?

644






Mention when to use function procedures and what are its characteristics?

627


Explain the constants in vbscript?

561


How will you get the exponent of the given number in vbscript?

554


What is the main difference between function and sub-procedure?

549


Why is it recommended to close the database connection every time after the work is completed?

496


How will you check that a variable is an array in vbscript?

542


Compare java script and vb script?

591


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

1413


Mention what is vbscript?

593


What is the use of option explicit statement?

583