Can PHP get the text between specified characters...?

kpa4941

New member
Can PHP get the text between --- for example?

Example:

---Hi, this is a test---
blah
blah

PHP Returns:

Hi, this is a test

Thanks!
Is it possible for me to be able to store the gathered text as a variable and then for php to remove that portion of the string (First part is preferred more than 2nd)?
Is it possible for me to be able to store the gathered text as a variable and then for php to remove that portion of the string (First part is preferred more than 2nd)?
 
Back
Top