I want a code that puts spaces into words that are longer than let's say 30 characters. That's not a big problem.<BR>But I don't want it to ruin my URLs, by putting spaces in the adresses.<BR>Let's say that this URL is 30 chars: (which it obiously is not) http://www.whoa.nu/ and my code looks like this:<BR><BR><A Href="http://www.whoa.com/">http://www.whoa.com/</A><BR><BR>Then I want the <A Href="http://www.whoa.com/">-part to stay as it is, but the other part to be broken, so that it doesn't ruin my layout.<BR><BR>I was given this code:<BR>http://w1.313.telia.com/~u31308938/images/thestring.txt<BR><BR>And it does do the things I want it to.<BR>But there are a couple of bugs in it:<BR><BR>If you write a veeeeeeeery long word, it doesen't work properly. It only makes two spaces in the word, even if there should be many more. That means that my layout gets destroyed...<BR><BR>It thinks of <b r> and vbCrlf (regular new line-tags) as letters. That means that the code sometimes puts a space in a <b r> and ruins it. if a <b r> is placed like this: veryveryveryverylongword.<b r> then there might show up a space in the tag and ruin it.<BR><BR>I hope that someone can help me, since this is very important to me.<BR>Thanx a lot in advance.