Quote:
Originally Posted by syg00
Fragile - what happens when $1 (in data) is not unique ?.
|
Why to call it fragile when no indication has been made for your requirement? If that were the case a more laborious approach must be taken, since the last entry will have precedence. However, as stand, until that requirement is made my suggestion is perfectly solid and meets the requested output.