Ok. So on this page I have the data being pulled in using the SourceQuery class but when I get the hostname there is extra data that I don't want on the page.
This is the page: http://almost-there.org/beta.php
This is the code that I am using.
$SName = $StatsTF["HostName"];
$SName = str_replace("Almost There | ", "", $SName);
The full string that it returns is: "Almost-There | Stock Maps #1 | East Coast (x24)"
The end result I am trying to get to is: "Stock Maps #1 | East Coast (x24)"
Am I right in using str_replace or should I be using another function?
If I should be str_replace then what am I doing wrong?