String Type Usage. String vs DString vs WString

Chris P a at b.com
Mon Jan 15 02:05:32 UTC 2018


Hello,

I'm extremely new to D and have a quick question regarding common 
practice when using strings. Is usage of one type over the others 
encouraged? When using 'string' it appears there is a length 
mismatch between the string length and the char array if large 
Unicode characters are used. So I figured I'd ask.

Thanks in advance,

Chris P - Tampa


More information about the Digitalmars-d-learn mailing list