sort a string

Chris Katko ckatko at gmail.com
Fri May 1 08:29:42 UTC 2020


On Friday, 1 May 2020 at 08:17:33 UTC, norm wrote:
> On Friday, 1 May 2020 at 07:38:53 UTC, Chris Katko wrote:
>> [...]
>
> You need to convert the sort output to dchar[], e.g.
> ---
> dchar[] line3 = sort(line2.to!(dchar[])).to!(dchar[]);
> ---
>
> Cheers,
> Norm

That works, thanks!



More information about the Digitalmars-d-learn mailing list