Creating Multiple Calculated Fields from Part Number Field

I working on a BAQ where I’m trying to create multiple calculated fields from PartNum. I need each field to be a group based on certain aspects of the part number (ie. part number contains “A1” somewhere in it, part number ends in 54, etc). I’m thinking that I need to use the substring function but my brain seems to be locked up this morning. Any assistance would be appreciated. Thanks

you may need to use Concatenate within Contain or start with functions in if then else logical operator as calculated field