ishkur on 07/22/08
Last Edited at 07/22/08 02:06pm
function substring_between($haystack,$start,$end) { $start_position = strpos($haystack,$start)+strlen($start); $end_position = strpos($haystack,$end); return substr($haystack,$start_position,$end_position-$start_position);}
Report this snippet Tweet
Comment:
You need to login to post a comment.