% (percent) symbols returned by valuelist

Servoy 5.1

I set up a checkbox list containing custom values, and my plan is to let the user make several selections and then I’ll parse them for use in a search.

The valuelist is returning ‘%’ symbols in addition to linefeeds between each selected value (see image). [attachment=0]checkbox_bug.png[/attachment] The linefeeds I’m used to. The percent symbols are new to me, and they make it harder to parse the using string.split().

Is there some reason for the ‘%’ symbols or should I submit it as a bug? Thanks.

Hi Adrian,

The % characters are needed to do the search (think in SQL terms) so Servoy is adding these when in find mode.
Do you use a global/form variable or do you use a table column as dataprovider for this field ?
I am not sure if Servoy is adding them when you use a global/form variable with a form in find mode but you could try that. If it still does add those then I guess a quick replace will do the trick before you parse the values.

Hope this helps.