mutable string

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 10 13:30:00 PDT 2016


On Sunday, 10 July 2016 at 19:50:28 UTC, Adam Sansier wrote:
> But I need to compare the results, case insensitive, to a 
> string(since that is what D uses). It's being a real pain in 
> the butt to deal with the mixture.

Are your strings literals or generated somewhere else?

You can stick a w at the end of a string literal to make it a 
wchar string: `"this is wchar"w`

Most library functions in Phobos at least will work the same with 
wstrings as string.



More information about the Digitalmars-d-learn mailing list