Nearly 500 people had their hands swabbed for traces of drugs during a police operation aimed at improving safety in Bangor's night-time economy.
North Wales Police carried out the initiative over the weekend, working with Sports Bar and Trilogy nightclub as part of efforts to promote safer nights out in the run-up to Christmas.
In what the force described as the first operation of its kind in North Wales, people attending the two venues were required to have their hands swabbed as a condition of entry.
The samples were tested using a machine capable of detecting traces of drugs within seconds.
A total of 496 people were tested, with traces of cocaine, ketamine, amphetamine and spice detected during the operation.
Twenty-eight people were subsequently searched, resulting in ten individuals being found in possession of small quantities of controlled drugs.
Seven of those were referred to Checkpoint Cymru, an out-of-court programme which aims to address the underlying causes of offending and help prevent further criminal behaviour.
The remaining three were reported for summons to appear before magistrates after refusing the out-of-court option.
Police said the operation was intended not simply to catch people in possession of drugs, but to reduce the risks associated with drug use and improve safety for people enjoying a night out.
Force Tactical Drugs Lead Adrian Parsons thanked the management and staff at both venues for supporting the initiative.
He said the aim was to prevent drug-related harm and the associated risks, including drink spiking and violence.
Mr Parsons also said he had been encouraged by conversations with young people who had decided to avoid ketamine after seeing the harm it had caused among their friends.
He said police would continue working with partners to carry out similar operations at locations across North Wales.
Anyone with information about drug supply in their community is being encouraged to contact North Wales Police or report information anonymously through Crimestoppers.