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 |
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
write a vb script to display factorial of a number using function
Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript
Mention what is vbscript?
which is the best institute in banglaore for software testing?
input values to accept 2 numbers & print the product, difference and sum using switch case
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
What are events in the vbscript language?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
How many types of procedures are available in the vbscript language?
Explain about filter expression?