Item11079: LISTUNIQUE function of Spreadsheet plugin not working when repeated item is in the beginning or in the end of the list
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Repeated in the begining: Apple, Orange, Kiwi, Mango, Apple, Banana
LISTUNIQUE: Apple, Orange, Kiwi, Mango, Banana
<======= WRONG
Repeated in the end: Orange, Apple, Kiwi, Mango, Banana, Apple
LISTUNIQUE: Orange, Apple, Kiwi, Mango, Banana
<======= WRONG
Repeated in begining and end: Apple, Orange, Kiwi, Mango, Banana, Apple
LISTUNIQUE: Apple, Orange, Kiwi, Mango, Banana
<======= WRONG
Repeated in the middle: Orange, Apple, Kiwi, Mango, Apple, Banana
LISTUNIQUE: Orange, Apple, Kiwi, Mango, Banana
<======= OK
--
EnriqueCadalso - 25 Aug 2011
Found the issue - In general list processing, elements don't have leading or trailing spaces stripped. And it only effects the first / last element.
--
GeorgeClark - 18 Oct 2011