Safer casts

terranium spam at here.lot
Sat May 10 04:14:17 PDT 2008


Janice Caron Wrote:

> Consider this:
> 
>     string s = "\u20AC"; /* s contains exactly one Unicode character */
>     string t = s[1..2];

this makes string array of bytes rather than chars.



More information about the Digitalmars-d mailing list