function prepareSearchString(string) {
  return string
    .replace(/\s+/g, ' ')
    .replace(/ /g, '+')
}
/* Clean a string to be used for Bing searches
 */
Clean a string to be used for Bing searches
Clean a string to be used for Bing searches
function prepareSearchString(string) {
  return string
    .replace(/\s+/g, ' ')
    .replace(/ /g, '+')
}
function prepareSearchString ( string ) { return string . replace ( / \s+ / g , ' ' ) . replace ( / / g , '+' ) }
Clean a string to be used for Bing searches
Clean a string to be used for Bing searches