write a vb script to display apple that is 1st a should be
displayed then ap then app then appl then apple
Answer Posted / prathyusha
str="apple"
For i=1 To Len(str)
var=Mid(str,i,1)
char=char&var
newchar=newchar&vbcrlf&char
Next
MsgBox newchar
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In what way program "hello world" you can write in vbscript?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
How to delete a cookie using vbscript?
How are arrays declared in the vbscript language?
Which function is used in the vbscript language to convert the specified expression into a date type value?
How will you get a random number between 0 and 1 in vbscript?
Mention how you can call vbscript functions?
What if you do not specify anything when you call a procedure?
Mention what is the use of option explicit in vbscript?
What are the rules to name variable in vbscript?
who will create the object?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
How to Enter Values on the Command promt using VB script
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
Why is error handling required?