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 |
write a vb script to generate hello 5 times using do until loop
Mention how to assign a date value to a variable?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
0 Answers College School Exams Tests,
i need to sort the data using qtp script for this how i need to write a qtp script
generic function for webedit box for web application
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
write a vb script to generate fibonnaci numbers
How to Import data from a file (file is on the desktop) to the data table
how to retrive the tooltip by using descriptive programming in qtp?
what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com