Welcome to WebmasterWorld Guest from 18.104.22.168
i have a whole series of strings which include various bits of HTML, for example
$string = '<p>Blah blah blah blah blah blah';
sometimes i need to write out the entire thing, but sometimes i don't need to include the HTML tag, so i was hoping there was a way of shortening the string by 3 characters before printing it out.
i know how to do it if the 3 characters are at the end of the string... but how do you do it if the characters you don't want are at the start? (bearing in mind that all of the strings are of different lengths)