I wrote:
> attachmentname.split($.)[1] == ".zip/.docx"

but I meant of course:
  attachmentname.split($.).last == "zip" or "docx" ...

Sorry if i'm spamming the list ;)

Reply via email to