title: What is the equivalent of the join operator over a vector of Strings?
body: <p>I wasn't able to find the Rust equivalent for the "join" operator over a vector of <code>String</code>s. I have a <code>Vec&lt;String&gt;</code> and I'd like to join them as a single <code>String</code>:</p>
  
  <pre><code>let string_list = vec!["Foo".to_string(),"Bar".to_string()];
  let joined = something::join(string_list,"-");
  assert_eq!("Foo-Bar", joined);
  </code></pre>
  
  <p>Related:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/36941851/whats-an-idiomatic-way-to-print-an-iterator-separated-by-spaces-in-rust">What&#39;s an idiomatic way to print an iterator separated by spaces in Rust?</a></li>
  </ul>