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 |
Which operator is used to concatenate the 2 values in the vbscript language?
What is the difference between javascript and vbscript?
how to set one column as primary key in QTP and fetch values accordingly
How do you get the value of a combo box in Javascript?
What are the data types supported by vbscript?
What is variant in vb script?
give me any information abou vb script books learn quckly
Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina
Explain about operator precedence in vb script?
Explain about .wsf files?
find the length of the string without using length function?
How will you get the natural logarithm of the given number in vbscript?