source/Core/UtilsString.php
public function prepareStrForSearch($sSearchStr)
    {
        $oStr = getStr();
        if ($oStr->hasSpecialChars($sSearchStr)) {
            return $oStr->recodeEntities($sSearchStr, true, ['&amp;'], ['&']);
        }

        return '';
    }
public function prepareStrForSearch($sSearchStr)
    {
        $oStr = getStr();
        if ($oStr->hasSpecialChars($sSearchStr)) {
            return $oStr->recodeEntities($sSearchStr, true, ['&amp;'], ['&']);
        }

        return '';
    }
public function prepareStrForSearch ( $ sSearchStr ) { $ oStr = getStr ( ) ; if ( $ oStr -> hasSpecialChars ( $ sSearchStr ) ) { return $ oStr -> recodeEntities ( $ sSearchStr , true , [ '&amp;' ] , [ '&' ] ) ; } return '' ; }
Prepares and returns string for search engines.

@param string $sSearchStr String to prepare for search engines

@return string
Prepares and returns string for search engines .