Doing some foam filling yesterday - some went on a screw on the work-bench. Eureka! After it had all cured - no messing about with nail varnish remover and bits of wire.
Screwed a two inch screw into the plastic deliver pipe - pulled with pliers - out came complete plug of cured foam. Did the same with the nozzle on the can.
Job's a good 'un.