Janice Caron wrote:
> On 1/31/08, Sean Kelly <sean at f4.ca> wrote:
>> And to do so the contents of data must be duplicated,
>
> The problem there is the idup. Replace it with
>
> foreach( line; lines )
> {
> writefln( tolower( assumeUnique(line)) );
> }
>
> and the duplication goes away.
It does? I didn't think tolower would modify a string in place.
Sean