By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,361 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

spaces needed in concatenation

P: n/a
Below is a piece of code in which I am trying to concatenate two items into
an arraylist. I have separated them with a " " but when I increase this to
say " " only one space is allowed. I assume the arraylist class is
removing the extra spaces which I would like to have for clarity. Is there a
method or property to do this.

arr.Add(objcust.ChildNodes(t).ChildNodes.Item(0).I nnerText & " " & _

objcust.ChildNodes(t).Attributes.Item(0).Value)

thanks
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Barry,

Do you have Option Strict On in top of your program?

Cor
Nov 21 '05 #2

P: n/a
> Below is a piece of code in which I am trying to concatenate two items
into
an arraylist. I have separated them with a " " but when I increase this
to
say " " only one space is allowed.


By "allowed", do you mean you get an error if you add more than one space or
do you mean that you only see one space displayed?

Remember that html displayed in a browser collapses white space to one
space. To avoid that, use the   html entity.

Andrew
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.