I have a string <?php $linktitle = get_the_title();?>
that stores the title of the post. The string has a title like this:
If Your Wi-Fi Is Terrible, Check Your Router – The New York Times
How can I remove everything before and including the –
? I'm using: <?php echo strstr($linktitle, '–'); ?>
and it outputs:
– The New York Times