Hi, i have a string like "INDIA". I need to display this
string vertically in Msgbox?
Answers were Sorted based on User's Feedback
Answer / lakshmi
Dim Str,I,J,Temp
Str="INDIA"
For i=1 to Len(Str)
J=Mid(Str,i,1)
Temp=Temp&J&VbCrlf
Next
Msgbox Temp
Please let me know if u any other answer which is simplest
than this.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / mandar
Dim Str,I,J,Temp
Str="INDIA"
For i=1 to Len(Str)
J=Mid(Str,i,1)
Temp=Temp&J&Vbnewline
Next
Msgbox Temp
| Is This Answer Correct ? | 2 Yes | 0 No |
str="INDIA"
For i=0 to len(str)
x=Mid(str,i,1)
Print x&VBCRLF
next
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
anyone can explian about types of "Triggere Events" in QTP
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...
What frame work ur using in QTP in ur current company?
What are the advantages of parameterization ?
How to capture the Check point Value into a variable?
can we call runaction in the funcion
How to handle Run-time errors?
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?