a;;b;c;;;d in this string output is abcd will come how can we
do that in vbscript in QTP testing?
Answer Posted / sadashiva @ wipro
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 |
Post New Answer View All Answers
what is the differance between BYVAL,BYREF?
How can the spaces from the string be removed?
How to get the length of the string by making use of the string function?
Mention how to assign a date value to a variable?
How many types of operators are available in the vbscript language?
What if you do not specify anything when you call a procedure?
Which function is used in the vbscript language to convert the specified expression into a date type value?
How will you get the smallest subscript of an array in vbscript?
did any one attended interview in applabs if you had gone through plz tell me the procedure
Explain about .wsf files?
Which object provide information about a single runtime error in a vbscript?
what is event handling?
What is the scope of a constant declared using public?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
Explain about vb script?