/ Published in: PHP
This helps you stip anything from title. This example is from Symfony homepage.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function getStrippedTitle() { // strip all non word chars // replace all white space sections with a dash // trim dashes return $result; }