Jump to content

Extract some text from string


gtal3x

Recommended Posts

Hello, this is probably an easy question but I haven't used php for few years now and can not figure how to do this  :'( :'(...

 

Basically let say I have a string "Blah Blah Blah |||Need This Text Only||| Blah Blah Blah"... What is the easiest way to get the text "Need This Text Only" from the string, knowing that always infront and after the text there is going to be something like "|||"...? 

Link to comment
https://forums.phpfreaks.com/topic/162467-extract-some-text-from-string/
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.