Re: [PHP] Get value between 2 strings

2003-11-17 Thread Justin French
On Monday, November 17, 2003, at 05:27 PM, Matt Palermo wrote: Hello. I was wondering if anyone knew of a function to get the value between 2 strings. For example, lets say I have the following line: $line = "I want the value between word ONE and word TWO. Please return it..."; Now, I want to

[PHP] Get value between 2 strings

2003-11-16 Thread Matt Palermo
Hello. I was wondering if anyone knew of a function to get the value between 2 strings. For example, lets say I have the following line: $line = "I want the value between word ONE and word TWO. Please return it..."; Now, I want to get everything between "ONE" and "TWO". In this example it sho