title: WordPress remove <br/> separator from last item in wp_list_categories
body: <p>I'm trying to remove the last separator (normally a <code>&lt;br/&gt;</code> tag but I changed it to "//") from the last link from wp_list_categories.</p>
  
  <p>Basically I want this:</p>
  
  <p>Category 1 // Category 2 // Category 3 //</p>
  
  <p>to look like this:</p>
  
  <p>Category 1 // Category 2 // Category 3</p>
  
  <p>Here's the current code I'm using:</p>
  
  <pre><code>&lt;?php
  $cat_array = array();
  $args=array(
   'author' =&gt; get_the_author_meta('id'),
   'showposts'=&gt;-1,
   'caller_get_posts'=&gt;1
  );
  $author_posts = get_posts($args);
  if( $author_posts ) {
    foreach ($author_posts as $author_post ) {
      foreach(get_the_category($author_post-&gt;ID) as $category) {
        $cat_array[$category-&gt;term_id] =  $category-&gt;term_id;
      }
    }
  }
  
  $cat_ids = implode(',', $cat_array);
  echo strtr(wp_list_categories('include='.$cat_ids.'&amp;title_li=&amp;style=none&amp;echo=0'),array('&lt;br /&gt;'=&gt;' // '));
  ?&gt;
  </code></pre>
  
  <p>Thanks!</p>