Hi,
So, you want to pass the first value of the comma separated value from parameter?
Try this:
Create a formula with below content:
stringVar array arr := split({your Parameter Field}, ",");//Replace {your Parameter Field} with your param
arr[1];
Now, you can use this formula for comparing with the database field as required by you.
Thanks,
Raghavendra