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 scrrun.dll?
Mention what is the difference between vbscript and vba?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Why is the use of exit do or exit for statements within loops discouraged?
What is the use of the recordset object and which statement is used to create such an object?
Explain the tristate constants in vbscript?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
How will you check that a variable is an array in vbscript?
What are the data types supported by vbscript?
How to open browser in vb script?
How to Enter Values on the Command promt using VB script
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
How can the spaces from the string be removed?
how to check whether link is disabled in QTP??
How will you get a subset of a array in vbscript?