Jump to content

Cut string after </p>


Perad

Recommended Posts

Stop your page from breaking?  ???

 

Yes, if I randomly cut a string and it is half way through a link, a span tag, an image tag, a paragraph etc there will be knock on problems down the page.

 

Thanks Andy, having a rotten day, explode didn't occur to me. I was thinking about finding a string pattern with an expression then using substr.. i don't know what I was thinking.  ::)

Link to comment
https://forums.phpfreaks.com/topic/127537-cut-string-after/#findComment-659833
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.