function getSingleIfRepeatedTwiceWithSpace($text){ if(preg_match('/^(.+)\s\1$/',$text,$matches)){ return $matches[1]; } return $text; }
function getSingleIfRepeatedTwiceWithSpace($text){ if(preg_match('/^(.+)\s\1$/',$text,$matches)){ return $matches[1]; } return $text; }
Комментарии к записи по RSS