Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the naming conventions while declaring a variable in the vbscript language?

1053


How can you create an object in vbscript?

1095


What is the purpose of the err object in the vbscript language?

1116


Explain about the extension .hta?

1085


How to write functions and sub in vb script?

1113


Why is the use of exit do or exit for statements within loops discouraged?

1051


How to create a cookie using vbscript?

1219


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2356


regular expression that will recognize a browser as long as its name property starts with mybrowser

2241


What is the use of the formatdatetime function in the vbscript language?

1032


Does VB/Win make standalone .EXE files?

3415


Explain the tristate constants in vbscript?

1049


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1927


What is the difference between vb debugger and the script debugger?

1151


Mention the rules for using option explicit statement?

1005