-string 'cut 6 first words $title = substr(base_url(),6); 'cut 6 last word $title = substr($title,0,-6); 'get 6 last word $title = substr($title,-6); -text 'get 15 first word from 0 first string substr($page_url,0,15) 'get 15 first word from 3 first string substr($page_url,3,15) 'get first word from 3 last string substr($page_url,-3,0)