private function strContainsFromCharset($sStr, $sCharset)
    {
        if (empty($this->aCharset[$sCharset])) {
            return true;
        }

        return preg_match('/[' . preg_quote($this->aCharset[$sCharset], '/') . ']/', $sStr);
    }
private function strContainsFromCharset($sStr, $sCharset)
    {
        if (empty($this->aCharset[$sCharset])) {
            return true;
        }

        return preg_match('/[' . preg_quote($this->aCharset[$sCharset], '/') . ']/', $sStr);
    }
private function strContainsFromCharset ( $ sStr , $ sCharset ) { if ( empty ( $ this -> aCharset [ $ sCharset ] ) ) { return true ; } return preg_match ( '/[' . preg_quote ( $ this -> aCharset [ $ sCharset ] , '/' ) . ']/' , $ sStr ) ; }
Determines whether a string contains any of the characters from a defined charset.

@param  string $sStr     The string to analyse
@param  string $sCharset The charset to test against

@return boolean
Determines whether a string contains any of the characters from a defined charset .