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
Compare java script and vb script?
How are values assigned to the variables in the vbscript language?
Explain about .wsf files?
How regexp.execute method works?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
How to delete a cookie using vbscript?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
what is diff between static and dynaic arrys?
How can the spaces from the string be removed?
Explain the filter expression?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Why is the use of exit do or exit for statements within loops discouraged?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.