write a vb script to display apple that is 1st a should be
displayed then ap then app then appl then apple
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / usha
str="apple"
for i = 1 to len(str)
msgbox left(str,i)
next
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / 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 |
Answer / abhishek mallabadi
dim apple
apple="a"
msgbox apple
apple1=apple & "p"
msgbox apple1
apple2=apple1 & "p"
msgbox apple2
apple3=apple2 & "l"
msgbox apple3
apple4=apple3 & "e"
msgbox apple4
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sadashivbyagi
guys dont complex the simple qn's
just try for this k
msgbox "a"&" "&"ap"&" "&"app"&" "&"appl"&" "&"apple"
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / mudaseer
msgbox "a"
msgbox "ap"
msgbox "app"
msgbox "appl"
msgbox "apple"
Is This Answer Correct ? | 0 Yes | 5 No |
i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?
what is test scenario?
write a vb script to create a folder?
what is the standards used for writing the script in QTP
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
write a Vb script to find a whther a selected drive exits.
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
how to increase the values in text box in a given text box increament by two values by clicking on button
Can anyone help me in write coding to get this pattern * ** *** ****
What are class events?
What is the difference between vbscript and vba?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com