a;;b;c;;;d in this string output is abcd will come how can we
do that in vbscript in QTP testing?
Answer Posted / 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 |
Post New Answer View All Answers
Explain about the support of asp for vb script functionality?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Explain How do you create a recordset object in vbscript?
who will create the object?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Which constant is used for print and display functions and works as same as pressing enter key?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
what is the standards used for writing the script in QTP
Write a code to print numbers from 5 to 0?
What are the rules to name variable in vbscript?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Explain about tristate constants?
What is Procedure or Subroutine in VB Script?
How to capture a runtime error in vbscript?