Hi Tobias Your solution is at least twice faster than uniq command and much faster than checking each item in loop in my case. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211210/cc9e3111/attachment.htm>