On Friday, 3 March 2017 at 04:14:02 UTC, Jordan Wilson wrote:
On Friday, 3 March 2017 at 03:11:24 UTC, steven kladitis wrote:
[...]
I saw this answer for a similar question from Adam D. Ruppe:
Quote:
"...it is anything that Phobos considers "bidirectional" and
"swappable" - an array it can reverse easily and swap
individual elements, and it considers plain string to be
non-swappable due to UTF-8 encoding. Due to its variable length
element encoding, swapping two chars may require reshuffling
the entire array, which would be far more expensive than the
function allows.
[...]
added std.conv and it works!! thanks for the help!!!