fetching multi value checkbox values

fetching multi value checkbox values

I thought this worked before but when I fetch the for a record with a multi value checkbox type field, I am returned only the first value in the string of values for that field. Is this the way its supposed to be? Should I not get a string of values back? Then I can used .contains() to see if my desired value is in the list. For example:

if (thisapp.f_getUserRights(zoho.loginuser).contains("sur"))

the function fetches the record and returns the string form the multi value checkbox field. But I get only the first stored value in the string.

Am I missing something, again? ;)

Thanks and Regards,

Tim Sadler