I'm using FMP 15 Advanced on Windows 7 Pro.
I have a script that should run if field contains the word "Customer". This wasn't working so I looked into it and found the PatternCount result is returning 0, where the field value is "Customer (Potential)" and the search term is "Customer".
Is this a bug? I'd expect it to return a 1.
I've shown the Data Viewer, with the value of the field, for reference, so you can see that what the contents of the field is.