added separator parameter with default of '|' to control the list separator to use...