On Tue, Feb 05, 2008 at 01:24:49PM +0100, C. Schalkwijk wrote:
In my opinion, removing characters from a string (when not requested) is faulty behaviour and should not occur. 'possibly skipping or adding spaces' is not desired.
but word wrapping can not be handled correctly in any other way.
if you want to set a text in a multiline block then any space that would end up at the beginning od a line must be removed because the line must start with text. otherwise the line would be indented.
therefore it is not possible to implement this correctly without removing spaces where linebreaks are introduced.
in what context do you want to format your text?
you may want to write your own function to wrap the text.
greetings, martin.