Right now, casting an array to string gives the following result:
list := ['a','b','c']; string(list) == 'a\nb\nc\n'
While it makes sense to implode it with linebreaks, it's wrong to add a trailing one. The fix itself is pretty straightforward, but the reason I'm opening this task is to have a view of how many filters rely on this. So, I'm kindly asking of a database query to find every usage of string() function. Then, depending on the # of matches (refining the search if necessary), we'd need to determine how many filters actually rely on this and fix them.