How to match and delete entries from queue

In reply to shine2828:
I would use an associative array instead of a queue. Then you can use the built-in exists() and delete() methods.

1 Like