On Sun, 2007-10-28 at 20:35 -0500, problems@[EMAIL PROTECTED]
wrote:
> > Occasionally, like now, I want to write a small routine to:
> > FOR StartLine TO EndLine DO
> > RemoveMultipleConsecutiveSpaces;
> > I.e. remove the extra spaces -- which I remember WS
> > could insert for text to fill the line nicely.
Georg Bauhaus wrote:
> The STRING class has some routines that I guess will be
> helpful here. See http://www.gobosoft.com/eiffel/nice/elks01/string.html
>
> feature -- Access
> ...
> feature -- Removal
> ...
>
> If this requires too many intuitions, so to speak, you can also get
> Lex style parsing from that place, and probably REs with replacements.
>
Thanks ! That's excellent. I'd like the implementation code too,
although that's probably too tied to the other Eiffel classes to be
conveniently transformed to Oberon source.
== Chris Glur.


|