Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain about .wsf files?

1155


What are the properties of regexp object?

1111


Which operator is used to concatenate the 2 values in the vbscript language?

1014


How can you create an object in vbscript?

1092


what is resorceallocation

2234


Mention what is select case statement?

966


Explain about scrrun.dll in vbscript?

1106


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

975


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 ?

2060


What are the different types of operators and their order of precedence?

1046


How are comments handled in the vbscript language?

1004


What is Procedure or Subroutine in VB Script?

1157


Explain about the asc function?

1081


Explain about the functionality of vb script?

988


Which function allows you to instantiate an object given its programmatic identifier or progid?

1039