Hi, Is there a way to check if a string contains a substring? I could use something like the code below to check if the string fully matches:
<mvt:foreach iterator="item" array="order:items">
<mvt:if expr="l.settings:item:name EQ 'Specialty Product 321'">
</mvt:if>
</mvt:foreach>
I would like to instead just check if that variable contains "Specialty Product", any help would be appreciated.
<mvt:foreach iterator="item" array="order:items">
<mvt:if expr="l.settings:item:name EQ 'Specialty Product 321'">
</mvt:if>
</mvt:foreach>
I would like to instead just check if that variable contains "Specialty Product", any help would be appreciated.
Comment