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


Please Help Members By Posting Answers For Below Questions

Explain what is loose binding? Why is it not a good practice to use it?

569


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

1330


Anyone have qtp11.0 crack?

2374


Which function is used to perform string comparison?

556


How will you get the smallest subscript of an array in vbscript?

800






Explain different types of segment?

556


who will create the object?

1475


How many types of operators are available in the vbscript language?

530


How can you fetch the value of a cookie?

540


how to acces the remote mechine using vb cript(QTP)

1595


please can you help me to get a code of flames using a visual basic 6

1220


What is the technology used by vb script?

535


What are class variables?

607


Mention what if you do not specify anything when you call a procedure?

562


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1747