seany:
int[string] k; // populate k hereint[string] j; foreach(sttring key, int val; k) { j[key] = val; break; }
This is OK, and you can encapsulate this into a little function. But you are not removing the pair from the first associative array. So you have to remove the item before the break.
Bye, bearophile