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

How can the spaces from the string be removed?

985


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

5178


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

987


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

2207


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

2059


Mention how to assign a date value to a variable?

1043


What is purpose of scripting.filesystemobject class in vbscript?

1095


Explain the tristate constants in vbscript?

991


How to replace junk code recorded by QTP with a mall function.

2045


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

2288


How to assign a date value to a variable?

1063


Explain the operator precedence in vb script?

1041


Mention what is variant in vbscript?

922


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

2036


What is the purpose of the err object in the vbscript language?

1074