Workflow - Compare String 'Contains' does not work

Hi @colin_mckibben,
I have similar requirement I need check if an identity has an access profile that starts with “Test-Access” and substring of “-ps-”, if true I need to send mail else no else action. could you please share your idea’s to achieve this condition