Fractal

Robert Fraser fraserofthenight at gmail.com
Mon Jun 8 17:57:39 PDT 2009


Fractal wrote:
> Thanks for the correction... then adding a String struct to simplify it?
> 
> Fractal

Why? char[] _is_ a string. wchar[] and dchar[] are basically there for 
compatibility with libraries that want them.

That being said, tango.text.Text is a "string struct" of a sort, 
although it's designed more for representing a large block of text in an 
editor rather than a single string. There's also mtext ( 
http://www.dprogramming.com/mtext.php ), though it's unlikely to compile 
without modification since it's rather old.



More information about the Digitalmars-d mailing list