Find Semantically Correct Word Splits in UTF-8 Strings

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 1 14:34:38 PDT 2014


On Wednesday, 1 October 2014 at 17:09:57 UTC, monarch_dodra wrote:
> Does that even work? takeExactly would pop up to N 
> *codepoints*, whereas your string only has N *codeunits*.

Your're right again :)

If forgot that takeExactly auto-decodes.


More information about the Digitalmars-d-learn mailing list