I see! The Listview will display an element for each item in the array, so performing array functions on the input data will remove or add elements to the listview. So using JS array functions (ie trim() or splice()) can manipulate the elements of the Listview!