All pastes #536143 Raw Edit

Someone

public php v1 · immutable
·published 2007-06-04 08:56 UTC
rendered paste body
function midfix($string,$prefix,$suffix){        if (preg_match_all("/" . $prefix . "(.*?)" . $suffix . "/",$string,$match))        {                return $match[1][0];        }        return false;}