davidl wrote:
>
> First practice:
>
> char[] text;
> char* p;
> char* end;
>
Pointer arithmetic in D is a no-no, unless you are using memory
allocated outside of the GC. To iterate over a D string, or any array,
use foreach:
foreach(c; text)
{
// do something with c
}