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
Write a code to print numbers from 5 to 0?
How to assign a numeric value to a variable?
How will you reverse a string in vbscript?
Explain about vb script?
Explain the .wsf files?
What is vbscript?
Explain about .wsf files?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
Compare java script and vb script?
What is the use of the instr function?
When are redim statement and preserve keyword used in the vbscript language?
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.?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
How will you get the exponent of the given number in vbscript?
How can you create a file object to work with the files in the vbscript language?