Each value that is not unique should be made so by appending an integer.
Perhaps you mean something like:
Before inserting a hash key, if it already exists, string increment the key and try again.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^3: How to find the repeated text in hash
by QM
in thread How to find the repeated text in hash
by codewalker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |