Retrieve separate records from multiselect lookup field

Retrieve separate records from multiselect lookup field

Hi,

I know there are many post on this one, but I just don't get it.

I have a multiselect look-up field named Delivery containing 3 different informations like this :

Montreal - Tuesday - 3 to 4 pm

I need to do an IF script based on the first item in this multiselect (Montreal) and the loginuser.

I tried the following:

List = Subscription (Cust_Email = zoho.loginuserid).Delivery
For each Record in List
{
If (City = "Montreal")
{
Variable = "XYZ"
}
}

Anyone can tell me what I do wrong ?

Sylvain