OK , I understand some part now .
So let's walk through high logic , my assumption is
- Array variable is supplied once
- Record id is supplied once
- If below works you can supply xyz = a.j_classification
{% set xyz = '538;923;239;248;492;964;082;943' %}
{% set values = xyz.split(';') %} --> We split your array
{% for value in values %} -> For each value we now loop through them
{% if value == a.id %} -> We check each value for record.id which I assume is in a.id but you can supply anything
Do something
{% endif %}
{% endfor %}
------------------------------
Prashant Maheshwari
------------------------------