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 |
write a qtp script to count the number of minimized windows
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
what is the use of QCUtil? explain with one example?
What is the difference between for loop and while loop?
How to write functional test cases for send button in gmail.
how to store charecters of HARIBABU Using arrays
how to acces the remote mechine using vb cript(QTP)
How to pass argument by reference to a function in vbscript?
What is the use of option explicit in vbscript?
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
How do you create a recordset object in VBScript?
Explain about the extension .hta?