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: "this is apple"

Answers were Sorted based on User's Feedback



How to remove the spaces in a string Ex: "this is apple"..

Answer / shashank shekhar raj

Hai,

Try this it's much easier

x="This is apple"
x=replace("This is apple"," ","")
MsgBox x

REPLACE is function in which i replace whitespace (" ")
by no space ("")

Is This Answer Correct ?    25 Yes 1 No

How to remove the spaces in a string Ex: "this is apple"..

Answer / kamepalli

a=split("this is apple"," ")
b=a(0)+a(1)+a(2)

msgbox b.

Is This Answer Correct ?    11 Yes 6 No

How to remove the spaces in a string Ex: "this is apple"..

Answer / anand

x= "This is VBScript"
y = Split(x)
msgbox join(y,"")

Is This Answer Correct ?    7 Yes 2 No

How to remove the spaces in a string Ex: "this is apple"..

Answer / eswar

s = "this is apple"
x = Split(s," ")
For each i in x
y=y&i
Next
MsgBox y

Is This Answer Correct ?    5 Yes 2 No

How to remove the spaces in a string Ex: "this is apple"..

Answer / saradarao.v

hi Kamepalli.

i am knew to qtp.how i will get real time exp in qtp.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More VB Script Interview Questions

write a vb script to rename a folder from tree4 to tree7

3 Answers  


What are events in the vbscript language?

0 Answers  


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

0 Answers  


Find Out Length of an array without using Ubound?

1 Answers  


what do you mean .ota mobile format

0 Answers  


What variable can you use to share info across the whole application for one user?

2 Answers  


How can you test font size, type and color using QTP tool?

3 Answers  


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

0 Answers  


what is used of Property........End Property loop ? how to write the script for it?

0 Answers  


How to return only alpha bate string from an string str = "bibhu@#$%&das&*)(SUndar"

4 Answers   Cap Gemini,


what is visual basic?

2 Answers   Seion Infotech,


how to write code: to check whether the window of an Application Under Test exist or not . plz give with example

2 Answers  


Categories