Takes lists of strings and formats them. Originally made for preparing SQL statements of long lists of items.