Searching for a value inside of a string of data - baq

We have 2 fields…1 field has a value and the 2nd field has a string of data. Is there an easy way you can use the baq functions to have the system compare the 1st field to verify if that value or data is contained in the string. For example - here is a part description: Widget ABC 26" x 37". Then we have a part attribute for part Length: 26". So, to verify that the correct length (26") is in the description I want to query the part length to see if the Part Description contains that value within the string. Possible? Thanks?

This calculated field will do that for you

image

Or if your PartNum field isn’t already text:

iif(PartDescription LIKE '%' + convert(varchar, PartNum) + '%', 1,0)

thanks guys - I will try this!