public function contains($inner)
    {
        return mb_strpos(
            $this->contents,
            (string) $inner,
            null,
            $this->encoding
        ) !== false;
    }
public function contains($inner)
    {
        return mb_strpos(
            $this->contents,
            (string) $inner,
            null,
            $this->encoding
        ) !== false;
    }
public function contains ( $ inner ) { return mb_strpos ( $ this -> contents , ( string ) $ inner , null , $ this -> encoding ) !== false ; }
Returns true if the string contains the provided string.

@param string|Rope $inner

@return bool
Returns true if the string contains the provided string .