write a vb script to display apple that is 1st a should be
displayed then ap then app then appl then apple

Answer Posted / aparajita mohapatra

val="apple"
For i=1 to len(val)
val1=mid(val,1,i)
print val1

Next

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1660


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

513


What are events in the vbscript language?

544


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12881


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

620






How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2574


Explain the string concatenation function in vbscript?

538


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

1802


Explain about vb script?

747


What is the difference between function and procedure?

569


why variable name should not exceed 255 characters?

1815


how to comvert 120 into one hunderd twenty rupees only and vice varsa

1800


Explain about .wsf files?

618


What is the use of option explicit in vbscript?

542


what is diff between static and dynaic arrys?

1584