I get with foreach a result list like:
65421314C
75421314F
15421314C
75421314E
11521314C
how can i filter with if results like:
Frist row who contains "E" to display this result?
I tried so, but this is not fully correct:
if(strstr(substr($variant_code->product_code, -3), 'E'))