How do I change '|' to '-' in HTML page title? I wan to change the HTML page title: It is displayed as "pagename | sitename"; I want to change it to "sitename - pagename."

How can I do this?
I would have used existing $head_title_array variable like this:

&lt;title&gt;&lt;?php print $head_title_array['name'] . ' - ' . $head_title_array['title']; ?&gt;&lt;/title&gt;


Reference: html.tpl.php

You can also do this with the Metatag module.