PDA

View Full Version : Extra spaces when replacing strings with null strings



rjcurrie
Sep 15th, '03, 07:28 AM
Dan:

When you edit a text string to a null string and that string normally appears separated by a space from following text, you can end up with two spaces in the output.

For example, I want Reduced Endurance to appear simply as "1/2 END" or "0 END" with no "Reduced Endurance" preceding. To accomplish this, I was simply deleting the "Reduced Endurance" text in the Power's dialog. However, I noticed that when this was output, I ended up with two speces between the END value and the previous modifier. This shows up in other places as well.

Rod

rjcurrie
Sep 17th, '03, 02:41 PM
Dan:

Any thoughts?

Rod

Simon
Sep 17th, '03, 02:50 PM
Only one:

Fixed.

;-)