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...

How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?

Answer Posted / sowjanya

Msgbox Replace("wellcome to qtp world"," ","")

OR

str= "Wellcome to qtp world"

arr=Split(str," ")

for i=0 to Ubound(arr)

abc=abc&arr(i)

next

msgbox abc

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which operator can be used to check if two numbers are equal or not in vbscript?

1164


what is the features of visual basic?

2151


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1372


What are keywords in the vbscript language?

1037


Can u describe what kind of testing are for OTC derivates by banks.

2143


what is the differance between BYVAL,BYREF?

2270


what is resorceallocation

2229


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

14211


Mention what is variant in vbscript?

945


What is the difference between do until loop and do while loop?

1068


Is vbscript language a case-sensitive language and what does it mean?

1023


What are the 2 ways in which a variable can be declared in the vbscript language?

1064


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1860


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

2132


How regexp.execute method works?

1073