sort a string

notna notna.remove.this at ist-einmalig.de
Fri May 1 15:04:01 UTC 2020


On Friday, 1 May 2020 at 12:29:26 UTC, Steven Schveighoffer wrote:

>>>         dchar[] line3 = sort(line2.to!(dchar[]));
>
> dchar[] line3 = sort(line2.to!dchar[]).release;
>
> https://dlang.org/phobos/std_range.html#.SortedRange.release
>

hmmm, whích results in:
  Error: cannot use [] operator on expression of type dchar



More information about the Digitalmars-d-learn mailing list