Dscanner - It exists

Jonathan M Davis jmdavisProg at gmx.com
Wed Aug 1 13:39:52 PDT 2012


On Wednesday, August 01, 2012 22:34:14 Marco Leise wrote:
> I still hope for some
> super-smart solution, that doesn't need a book of documentation and allows
> some kind of ASCII-equivalent range.

If you want pure ASCII, then just cast to ubyte[] (or const(ubyte)[] or 
immutable(ubyte)[], depending on the constness involved). string functions 
won't work, because they require UTF-8 (or UTF-16 or UTF-32 if they're 
templatized on string type), but other range-based and array functions will 
work just fine.

- Jonathan M Davis


More information about the Digitalmars-d-announce mailing list