a;;b;c;;;d in this string output is abcd will come how can we
do that in vbscript in QTP testing?
Answers were Sorted based on User's Feedback
Answer / eswar
s = "a;;b;c;;;d"
For i=1 to len(s)
x = Mid(s,i,1)
If x <> ";" Then
y=y&x
End If
Next
MsgBox y
Is This Answer Correct ? | 2 Yes | 0 No |
str="a;;b;c;;;d"
a=len(str)
for i=1 to a
b=replace(str,";","")
next
msgbox b
Is This Answer Correct ? | 1 Yes | 1 No |
what is descriptive programming in QTP and what is environment variable in QTP? where we store and what is its use?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
What is Querystring collection?
what is visual basic?
What are the different types of operators and their order of precedence?
Explain the adodb.stream class?
write a program to display configuration of a local system with the help of vb script.
How will you get a subset of a array in vbscript?
input values to accept 2 numbers & print the product, difference and sum using switch case
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
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com