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

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

2027


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1167


Which operator can be used to change the value of the operand or change the state of the condition?

1080


Explain about the functionality of vb script?

1034


How many types of operators are available in the vbscript language?

1009


who will create the object?

2015


How can you create an object in vbscript?

1137


Mention what is the technology used by vb script?

1019


What are the uses of vb script?

1095


What are the data types supported by vbscript?

1177


Explain about tristate constants?

1081


Explain the tristate constants in vbscript?

1084


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

1122


What are the 2 ways to pass a value to the function?

1011


how to set one column as primary key in QTP and fetch values accordingly

2362